On 01/02/2018 04:44 AM, Luu An Phu wrote: > From: "phu.luuan" <phu.lu...@nxp.com> > > 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.lu...@nxp.com>
Applied to can. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature