]> 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)
commit8ed45aa8567e3d3fc59285efcbff16035d2f0c7b
tree849b18ac983b45b07b1989ec0df5aaf8ad1c8a11
parentae8fe3f9d8cbb332b3e204b2fe820da5bca8a88c
iio: proximity: sx9500: Assign interrupt from GpioIo()

The commit b4b23ace3ece

("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 b4b23ace3ece 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