8a233f01b7
Our Moorestown platform has two max7315 chips which is covered by pca953x i2c gpio driver. A while ago this driver got updated with nested irq thread support, and it broke the compatibity with "request_irq". For example, the gpio_keys.c driver can not work with this driver now. This patch fixes the issue by switching to generic_handle_irq. Also fix the irq_base issue: irq_base == 0 is valid, and a "-1" value should mean invalid. IRQ 0 is not a valid IRQ, irq_base of 0 is valid. Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
adp5520-gpio.c | ||
adp5588-gpio.c | ||
bt8xxgpio.c | ||
cs5535-gpio.c | ||
gpiolib.c | ||
it8761e_gpio.c | ||
janz-ttl.c | ||
Kconfig | ||
langwell_gpio.c | ||
Makefile | ||
max730x.c | ||
max732x.c | ||
max7300.c | ||
max7301.c | ||
mc33880.c | ||
mcp23s08.c | ||
pca953x.c | ||
pcf857x.c | ||
pl061.c | ||
rdc321x-gpio.c | ||
sch_gpio.c | ||
stmpe-gpio.c | ||
sx150x.c | ||
tc35892-gpio.c | ||
timbgpio.c | ||
twl4030-gpio.c | ||
ucb1400_gpio.c | ||
vr41xx_giu.c | ||
wm831x-gpio.c | ||
wm8350-gpiolib.c | ||
wm8994-gpio.c | ||
xilinx_gpio.c |