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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:56:40 +0000 (16:56 +0200)
commitd22bef41017b4edfb0111c30f8bc476c17b5d720
tree8dcf3c2c2de239ab86aeb8d09a6d98c367a4a9e1
parent9b8bfdbc7e611a5b0ed45ef34c18ecfb42e66b25
mfd: rn5t618: Fix IRQ trigger by changing it to level mode

[ Upstream commit a1649a5260631979c68e5b2012f60f90300e646f ]

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: 0c81604516af ("mfd: rn5t618: Add IRQ support")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/rn5t618.c