Luu An Phu 13454c1455 can: flex_can: Correct the checking for frame length in flexcan_start_xmit()
The flexcan_start_xmit() function compares the frame length with data
register length to write frame content into data[0] and data[1]
register. Data register length is 4 bytes and frame maximum length is 8
bytes.

Fix the check that compares frame length with 3. Because the register
length is 4.

Signed-off-by: Luu An Phu <phu.luuan@nxp.com>
Reviewed-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-01-04 16:14:38 +01:00
..
2017-11-14 15:46:17 +09:00
2017-12-19 09:39:11 -05:00
2017-11-21 15:57:07 -08:00
2017-11-16 10:49:00 +09:00
2017-12-02 21:31:03 -05:00
2017-12-02 21:31:03 -05:00
2017-12-08 12:58:51 -08:00
2017-12-19 13:37:27 -05:00