diff options
author | Markus Schneider-Pargmann <[email protected]> | 2024-08-05 20:30:41 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2024-08-06 09:25:29 +0200 |
commit | a651261ac74298535f6d6316ebe27beceb6b17b1 (patch) | |
tree | bdbb4050963c8826b513a7f7c37e22fd50fcf8af /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 06d4ef3056a7ac31be331281bb7a6302ef5a7f8a (diff) |
can: m_can: Reset coalescing during suspend/resume
During resume the interrupts are limited to IR_RF0N and the chip keeps
running. In this case if coalescing is enabled and active we may miss
waterlevel interrupts during suspend. It is safer to reset the
coalescing by stopping the timer and adding IR_RF0N | IR_TEFN to the
interrupts.
This is a theoratical issue and probably extremely rare.
Cc: Martin Hundebøll <[email protected]>
Fixes: 4a94d7e31cf5 ("can: m_can: allow keeping the transceiver running in suspend")
Signed-off-by: Markus Schneider-Pargmann <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions