summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2010-10-26 14:22:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 16:52:15 -0700
commit8a233f01b7d7dd587f85fa581274f168f1e88bb8 (patch)
treea3f48e7647dde5cd62d2931c3152a5ded590e6d5 /drivers/misc
parent2e85c4ddd3f32d3e1da51f4129473399e505ffa3 (diff)
downloadlinux-8a233f01b7d7dd587f85fa581274f168f1e88bb8.tar.gz
linux-8a233f01b7d7dd587f85fa581274f168f1e88bb8.tar.bz2
linux-8a233f01b7d7dd587f85fa581274f168f1e88bb8.zip
pca953x: pca953x driver fixes for x86 mrst
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions