summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mockup.c
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2017-04-14 19:29:25 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-04-24 15:14:17 +0200
commit7c2d176fe3f8dce632b948f79c7e89916ffe2c70 (patch)
tree87feb8544d8906b043f53213fbfe22e54d13accb /drivers/gpio/gpio-mockup.c
parentgpio: dwapb: use dwapb_read instead of readl_relaxed (diff)
downloadlinux-7c2d176fe3f8dce632b948f79c7e89916ffe2c70.tar.xz
linux-7c2d176fe3f8dce632b948f79c7e89916ffe2c70.zip
gpio: gpio-wcove: fix irq pending status bit width
Whiskey cove PMIC has three GPIO banks with total number of 13 GPIO pins. But when checking for the pending status, for_each_set_bit() uses bit width of 7 and hence it only checks the status for first 7 GPIO pins missing to check/clear the status of rest of the GPIO pins. This patch fixes this issue. Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mockup.c')
0 files changed, 0 insertions, 0 deletions