mbox series

[PATCH:,0/2] Fix TC35894 gpio interrupt bug

Message ID 1598858073-5285-1-git-send-email-dillon.minfei@gmail.com
Headers show
Series Fix TC35894 gpio interrupt bug | expand

Message

Dillon Min Aug. 31, 2020, 7:14 a.m. UTC
From: dillon min <dillon.minfei@gmail.com>

This patchset intend to fix two bug on tc35894

1 offset counting is wrong in tc3589x_gpio_irq_sync_unlock()
2 disable Direct KBD interrupts in gpio-tc3589x's probe(),
  at least have to do this on tc35894, if not, after chip reset,
  IRQST(0x91) will always be 0x20, IRQN always low level, 
  can't be cleared. need more test on other tc3589x.

dillon min (2):
  gpio: tc35894: fix up tc35894 interrupt configuration
  gpio: tc35894: Disable Direct KBD interrupts to enable gpio irq

 drivers/gpio/gpio-tc3589x.c | 12 +++++++++++-
 include/linux/mfd/tc3589x.h |  5 +++++
 2 files changed, 16 insertions(+), 1 deletion(-)