]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: rn5t618: Fix IRQ trigger by changing it to level mode
authorAndreas Kemnade <andreas@kemnade.info>
Sat, 15 May 2021 20:55:18 +0000 (22:55 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 2 Jun 2021 09:50:00 +0000 (10:50 +0100)
commit3be7d24bf7e5698af3065127a27bfb4d6bafd72a
tree94b842201659d92e367119abd6af69dca641bccc
parent111f719d638fb68f6684d2a7a8e5e277275d18e5
mfd: rn5t618: Fix IRQ trigger by changing it to level mode

During more massive generation of interrupts, the IRQ got stuck,
and the subdevices did not see any new interrupts. That happens
especially at wonky USB supply in combination with ADC reads.
To fix that trigger the IRQ at level low instead of falling edge.

Fixes: af89f849d06c ("mfd: rn5t618: Add IRQ support")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rn5t618.c