aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorLuu An Phu <[email protected]>2018-01-02 10:44:18 +0700
committerMarc Kleine-Budde <[email protected]>2018-01-04 16:14:38 +0100
commit13454c14550065fcc1705d6bd4ee6d40e057099f (patch)
treed848eeb277470e3841c7c394cd4f060a92eb2fbb /drivers/fpga/fpga-mgr.c
parentd5b42e6607661b198d8b26a0c30969605b1bf5c7 (diff)
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 <[email protected]> Reviewed-by: Oliver Hartkopp <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions