can: m_can: allow keeping the transceiver running in suspend

Add a flag to the device class structure that leaves the chip in a
running state with rx interrupt enabled, so that an m_can device driver
can configure and use the interrupt as a wakeup source.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Martin Hundebøll 2023-11-13 14:14:50 +01:00 • committed by Marc Kleine-Budde
commit 4a94d7e31c
5 changed files with 21 additions and 5 deletions