]> git.baikalelectronics.ru Git - kernel.git/commit
can: peak_usb: fix missing ctrlmode_ init for every dev
authorStephane Grosjean <s.grosjean@peak-system.com>
Mon, 2 Mar 2015 10:54:38 +0000 (11:54 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 Mar 2015 09:22:24 +0000 (10:22 +0100)
commit28fb6102a84b8be096dd4e9eb446172007b635d5
tree99ee4e832a88b14e1f4b0caf065a631f85164c09
parentc23b4ca2f0131952123e912b5ddd2ae096ea0ac4
can: peak_usb: fix missing ctrlmode_ init for every dev

Fixes a missing initialization of ctrlmode and ctrlmode_supported fields,
for all other CAN devices than the first one. This fix only concerns
the PCAN-USB Pro FD dual-channels CAN-FD device made by PEAK-System.

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