Re: [PATCH 1/2] can: D_CAN: perform a sofware reset on open

2019-10-01 Thread Jeroen Hofstee
Hello Marc, On 10/1/19 4:32 PM, Marc Kleine-Budde wrote: > On 9/26/19 10:50 AM, Jeroen Hofstee wrote: >> When the C_CAN interface is closed it is put in power down mode, but >> does not reset the error counters / state. So reset the D_CAN on open, >> so the reported state and the actual state

Re: [PATCH 1/2] can: D_CAN: perform a sofware reset on open

2019-10-01 Thread Marc Kleine-Budde
On 9/26/19 10:50 AM, Jeroen Hofstee wrote: > When the C_CAN interface is closed it is put in power down mode, but > does not reset the error counters / state. So reset the D_CAN on open, > so the reported state and the actual state match. > > According to [1], the C_CAN module doesn't have the

Re: [PATCH 1/2] can: D_CAN: perform a sofware reset on open

2019-10-01 Thread Kurt Van Dijck
On do, 26 sep 2019 08:50:44 +, Jeroen Hofstee wrote: > When the C_CAN interface is closed it is put in power down mode, but > does not reset the error counters / state. So reset the D_CAN on open, > so the reported state and the actual state match. > > According to [1], the C_CAN module

[PATCH 1/2] can: D_CAN: perform a sofware reset on open

2019-09-26 Thread Jeroen Hofstee
When the C_CAN interface is closed it is put in power down mode, but does not reset the error counters / state. So reset the D_CAN on open, so the reported state and the actual state match. According to [1], the C_CAN module doesn't have the software reset. [1]