summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-gpio-mm.c
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2017-04-24 22:15:04 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-04-28 10:33:04 +0300
commit881ebd229f4a5ea88f269c1225245e50db9ba303 (patch)
tree13932d6ea8188f61bf3993f3573737503d747ea5 /drivers/gpio/gpio-gpio-mm.c
parentfa2f60ffa0e0a33406ef9538635a57ac499965ae (diff)
downloadlinux-881ebd229f4a5ea88f269c1225245e50db9ba303.tar.xz
gpio: gpio-wcove: fix GPIO IRQ status mask
According to Whiskey Cove PMIC spec, bit 7 of GPIOIRQ0_REG belongs to battery IO. So we should skip this bit when checking for GPIO IRQ pending status. Otherwise, wcove_gpio_irq_handler() might go into the infinite loop until IRQ "pending" status becomes 0. This patch fixes this issue. Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-gpio-mm.c')
0 files changed, 0 insertions, 0 deletions