Re: [PATCH v2] can: m_can: Set device to software init mode before closing

2020-11-11 Thread Marc Kleine-Budde
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

Re: [PATCH v2] can: m_can: Set device to software init mode before closing

2020-09-01 Thread Dan Murphy
Faiz On 8/25/20 12: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 ini

[PATCH v2] can: m_can: Set device to software init mode before closing

2020-08-24 Thread Faiz Abbas
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. S