]> git.baikalelectronics.ru Git - kernel.git/commit
can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
authorStephane Grosjean <s.grosjean@peak-system.com>
Wed, 29 Sep 2021 14:21:10 +0000 (16:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Oct 2021 07:54:26 +0000 (09:54 +0200)
commit5ae1118bb23caea5a5bc55db8da64774bb752f16
treead60b77df67d52769531cf5062b5470ebbca6af6
parent21f47b0106421a74116a6564e6d3b66ff2ab8ef1
can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification

commit 3d031abc7e7249573148871180c28ecedb5e27df upstream.

This corrects the lack of notification of a return to ERROR_ACTIVE
state for USB - CANFD devices from PEAK-System.

Fixes: ed9c60b42979 ("can: peak_usb: add support for PEAK new CANFD USB adapters")
Link: https://lore.kernel.org/all/20210929142111.55757-1-s.grosjean@peak-system.com
Cc: stable@vger.kernel.org
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/usb/peak_usb/pcan_usb_fd.c