diff options
author | Wei Chen <Wei.Chen@csr.com> | 2014-12-04 12:12:08 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-15 16:23:12 (GMT) |
commit | 093e9435483c8ad630a1432bfdcc10efe1c08a64 (patch) | |
tree | 41bb517ce7389f15668a42b6786af984b41ab366 /drivers/gpio/Kconfig | |
parent | 3c01b9a896c9c592d9edc7439d5e5cf6c411d014 (diff) | |
download | linux-093e9435483c8ad630a1432bfdcc10efe1c08a64.tar.xz |
gpio: sx150x: move to irqdomain framework for sx150x driver
The sx150x gpio driver used a loop to set liner irq map for gpio pins.
Now we use the irq domain to rebuild this irq mappig and make sure the
codes are still compatible to old users.
this patch also adds IRQF_ONESHOT flag to fix the IRQ flooding issues.
Signed-off-by: Wei Chen <Wei.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
[Make Kconfig select GPIOLIB_IRQCHIP]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index e367296..d5ee171 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -614,6 +614,7 @@ config GPIO_RC5T583 config GPIO_SX150X bool "Semtech SX150x I2C GPIO expander" depends on I2C=y + select GPIOLIB_IRQCHIP default n help Say yes here to provide support for Semtech SX150-series I2C |