Messages in this thread | | | Subject | Re: [PATCH v2] can: m_can: Set device to software init mode before closing | From | Marc Kleine-Budde <> | Date | Wed, 11 Nov 2020 23:33:38 +0100 |
| |
On 8/25/20 7:54 AM, Faiz Abbas wrote: > There might be some requests pending in the buffer when the > interface close sequence occurs. In some devices, these > pending requests might lead to the module not shutting down > properly when m_can_clk_stop() is called. > > Therefore, move the device to init state before potentially > powering it down. > > Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Added to linux-can/testing.
Tnx, Marc
-- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[unhandled content-type:application/pgp-signature] | |