]> git.baikalelectronics.ru Git - kernel.git/commit
iio: proximity: sx9500: Assign interrupt from GpioIo()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 Nov 2017 13:03:36 +0000 (15:03 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Dec 2017 11:15:13 +0000 (11:15 +0000)
commit0a3ef06588e0d838033cc23620f22fc9fa954124
tree849b18ac983b45b07b1989ec0df5aaf8ad1c8a11
parent3cd8f84c622621177a2eaf9c05e7ddfb353ad16b
iio: proximity: sx9500: Assign interrupt from GpioIo()

The commit 8a1539e452a3

("iio: remove gpio interrupt probing from drivers that use a single interrupt")

removed custom IRQ assignment for the drivers which are enumerated via
ACPI or OF. Unfortunately, some ACPI tables have IRQ line defined as
GpioIo() resource and thus automatic IRQ allocation will fail.

Partially revert the commit 8a1539e452a3 to restore original behaviour.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/sx9500.c