diff options
author | 2020-09-15 16:47:15 +0300 | |
---|---|---|
committer | 2020-11-18 16:37:32 +0100 | |
commit | a1f634463aaf2c94dfa13001dbdea011303124cc (patch) | |
tree | 3a790dcb197057001adea5a423db03a3e128c7f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | can: flexcan: flexcan_chip_start(): fix erroneous flexcan_transceiver_enable() during bus-off recovery (diff) | |
download | wireguard-linux-a1f634463aaf2c94dfa13001dbdea011303124cc.tar.xz wireguard-linux-a1f634463aaf2c94dfa13001dbdea011303124cc.zip |
can: m_can: process interrupt only when not runtime suspended
Avoid processing bogus interrupt statuses when the HW is runtime suspended and
the M_CAN_IR register read may get all bits 1's. Handler can be called if the
interrupt request is shared with other peripherals or at the end of free_irq().
Therefore check the runtime suspended status before processing.
Fixes: cdf8259d6573 ("can: m_can: Add PM Support")
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20200915134715.696303-1-jarkko.nikula@linux.intel.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions