[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191001133956.GB32369@x1.vandijck-laurijssen.be>
Date: Tue, 1 Oct 2019 15:39:56 +0200
From: Kurt Van Dijck <dev.kurt@...dijck-laurijssen.be>
To: Jeroen Hofstee <jhofstee@...tronenergy.com>
Cc: "linux-can@...r.kernel.org" <linux-can@...r.kernel.org>,
Wolfgang Grandegger <wg@...ndegger.com>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>,
"open list:NETWORKING DRIVERS" <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] can: D_CAN: perform a sofware reset on open
On do, 26 sep 2019 08:50:44 +0000, 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 software reset.
>
> [1] http://www.bosch-semiconductors.com/media/ip_modules/pdf_2/c_can_fd8/users_manual_c_can_fd8_r210_1.pdf
>
> Signed-off-by: Jeroen Hofstee <jhofstee@...tronenergy.com>
I observed no problems after applying the patch.
Tested-by: Kurt Van Dijck <dev.kurt@...dijck-laurijssen.be>
Powered by blists - more mailing lists