summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-bd9571mwv.c
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2017-04-24 12:15:04 -0700
committerLinus Walleij <linus.walleij@linaro.org>2017-04-28 09:33:04 +0200
commit881ebd229f4a5ea88f269c1225245e50db9ba303 (patch)
tree13932d6ea8188f61bf3993f3573737503d747ea5 /drivers/gpio/gpio-bd9571mwv.c
parentfa2f60ffa0e0a33406ef9538635a57ac499965ae (diff)
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-bd9571mwv.c')
0 files changed, 0 insertions, 0 deletions