]> 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)
commit1c098cec7c7b5d7a12f96dacc64868154f3a46f2
treef81e7113a509893ef0a670445537900fcf3ca527
parent2b1da9956a63909e16760874669a4e971cccc4af
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