OpenCloudOS-Kernel/drivers/net/can/usb/peak_usb
Stephane Grosjean 62bc24f67a can: peak_usb: fix multi-byte values endianess
This patch fixes the endianess definition as well as the usage of the
multi-byte fields in the data structures exchanged with the PEAK-System USB
adapters.

By fixing the endianess, this patch also fixes the wrong usage of a 32-bits
local variable for handling the error status 16-bits field, in function
pcan_usb_pro_handle_error().

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-12-07 21:04:03 +01:00
..
Makefile can: usb: PEAK-System Technik PCAN-USB Pro specific part 2012-03-03 17:40:58 +01:00
pcan_usb.c can: peak_usb: fix multi-byte values endianess 2014-12-07 21:04:03 +01:00
pcan_usb_core.c can: peak_usb: fix multi-byte values endianess 2014-12-07 21:04:03 +01:00
pcan_usb_core.h can: pcan_usb_core: remove obsolete variable open_time 2012-11-29 14:34:06 +01:00
pcan_usb_pro.c can: peak_usb: fix multi-byte values endianess 2014-12-07 21:04:03 +01:00
pcan_usb_pro.h can: peak_usb: fix multi-byte values endianess 2014-12-07 21:04:03 +01:00