aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2022-11-07 15:42:43 +0200
committerWolfram Sang <[email protected]>2022-11-12 07:37:49 +0100
commitcdbd2f169bf1aff9f679a3e07d62244fc4341968 (patch)
treed33d5d998f3cb42eb2f4dfe4cf4758c0d53cf4ec /lib/mpi/mpi-sub-ui.c
parent4c7107c2974270ff369342f6f1bd5d3669c182f1 (diff)
i2c: designware: Do not process interrupt when device is suspended
Do not return with interrupt handled if host controller is off and thus interrupt is originating from other device or is spurious. Add a check to detect when controller is runtime suspended or transitioning/reset. In latter case all raw interrupt status register bits may read one. In both cases return IRQ_NONE to indicate interrupt was not from this device. Signed-off-by: Jarkko Nikula <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions