[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ec53be09-bb1e-90b5-cb0a-f9f0643df800@pengutronix.de>
Date: Fri, 4 Oct 2019 23:15:41 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Jeroen Hofstee <jhofstee@...tronenergy.com>,
"linux-can@...r.kernel.org" <linux-can@...r.kernel.org>
Cc: Stephane Grosjean <s.grosjean@...k-system.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
"David S. Miller" <davem@...emloft.net>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
"open list:NETWORKING DRIVERS" <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] can: peakcan: report bus recovery as well
On 9/25/19 10:58 AM, Jeroen Hofstee wrote:
> While the state changes are reported when the error counters increase
> and decrease, there is no event when the bus recovers and the error
> counters decrease again. So add those as well.
>
> Change the state going downward to be ERROR_PASSIVE -> ERROR_WARNING ->
> ERROR_ACTIVE instead of directly to ERROR_ACTIVE again.
>
> Signed-off-by: Jeroen Hofstee <jhofstee@...tronenergy.com>
> Cc: Stephane Grosjean <s.grosjean@...k-system.com>
Applied to linux-can.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists