[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191001133735.GA32369@x1.vandijck-laurijssen.be>
Date: Tue, 1 Oct 2019 15:37:35 +0200
From: Kurt Van Dijck <dev.kurt@...dijck-laurijssen.be>
To: Jeroen Hofstee <jhofstee@...tronenergy.com>,
"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 2/2] can: C_CAN: add bus recovery events
On di, 01 okt 2019 09:40:57 +0200, Kurt Van Dijck wrote:
> On do, 26 sep 2019 08:50:51 +0000, Jeroen Hofstee wrote:
> > While the state is update when the error counters increase and decrease,
> > there is no event when the bus recovers and the error counters decrease
> > again. So add that event as well.
> >
> > Change the state going downward to be ERROR_PASSIVE -> ERROR_WARNING ->
> > ERROR_ACTIVE instead of directly to ERROR_ACTIVE again.
>
> This looks like a proper thing to do
> Acked-by: Kurt Van Dijck <dev.kurt@...dijck-laurijssen.be>
Thanks for this, now I see when the bus is normal again.
Tested-by: Kurt Van Dijck <dev.kurt@...dijck-laurijssen.be>
Powered by blists - more mailing lists