]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-ml-ioh: fix a bug in the interrupt handler
authorFeng Tang <feng.tang@intel.com>
Tue, 13 Dec 2011 15:53:49 +0000 (23:53 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 13 Dec 2011 18:05:17 +0000 (11:05 -0700)
commit51e5a657c03c80be0d55c9cf490bca1b8cf1f4d2
treef81e7113a509893ef0a670445537900fcf3ca527
parente5adb5848e8836001efc281da33a1b6068cae048
gpio-ml-ioh: fix a bug in the interrupt handler

GPIO's irq action's dev_id is set to the first struct ioh_gpio chip,
so when loop checking the 8 chips, the "chip" should be changed
according.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-ml-ioh.c