aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorHoratiu Vultur <[email protected]>2022-10-18 09:09:59 +0200
committerLinus Walleij <[email protected]>2022-10-18 10:42:10 +0200
commite9945b2633deccda74a769d94060df49c53ff181 (patch)
treed1c91ff5000c896558ac85bf8c2c013aa70b242d /lib/mpi/mpi-sub-ui.c
parentff8356060e3a5e126abb5e1f6b6e9931c220dec2 (diff)
pinctrl: ocelot: Fix incorrect trigger of the interrupt.
The interrupt controller can detect only link changes. So in case an external device generated a level based interrupt, then the interrupt controller detected correctly the first edge. But the problem was that the interrupt controller was detecting also the edge when the interrupt was cleared. So it would generate another interrupt. The fix for this is to clear the second interrupt but still check the interrupt line status. Fixes: c297561bc98a ("pinctrl: ocelot: Fix interrupt controller") Signed-off-by: Horatiu Vultur <[email protected]> Tested-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions