can: peak_usb: add support of ONE_SHOT mode
authorStephane Grosjean <s.grosjean@peak-system.com>
Tue, 9 Mar 2021 08:21:28 +0000 (09:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 30 Mar 2021 09:14:47 +0000 (11:14 +0200)
commit58b29aa9d47128ec6ee8fd731b0f137a82f0b9ea
tree39b93abd1610c1ef308175e8fc91e07fd3bf777f
parenta7e8511ffda6a81ba6b49c22d0ed296caeff438c
can: peak_usb: add support of ONE_SHOT mode

This patch adds "ONE-SHOT" mode support to the following CAN-USB
PEAK-System GmbH interfaces:
- PCAN-USB X6
- PCAN-USB FD
- PCAN-USB Pro FD
- PCAN-Chip USB
- PCAN-USB Pro

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
[mkl: split into two patches]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
drivers/net/can/usb/peak_usb/pcan_usb_pro.c