diff options
author | Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> | 2017-04-24 12:15:04 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-04-28 09:33:04 +0200 |
commit | 881ebd229f4a5ea88f269c1225245e50db9ba303 (patch) | |
tree | 13932d6ea8188f61bf3993f3573737503d747ea5 /drivers/macintosh | |
parent | fa2f60ffa0e0a33406ef9538635a57ac499965ae (diff) | |
download | talos-obmc-linux-881ebd229f4a5ea88f269c1225245e50db9ba303.tar.gz talos-obmc-linux-881ebd229f4a5ea88f269c1225245e50db9ba303.zip |
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/macintosh')
0 files changed, 0 insertions, 0 deletions