Commit 01fbaca1 authored by Martin Sperl's avatar Martin Sperl Committed by Ke Du
Browse files

can: mcp25xxfd: optionally enable SPI crc commands for reads



Allow the (optional) use of SPI CRC read commands that can get enabled
via a module parameter.

In the future it may become necessary to enable this for register reads
(or at least some specific register reads) as there is a HW file that
may result in glitches on the spi bus.

Possible variants here are:
* just retry the read
* do not use some fifos (7, 15, 23, 31) at all
* test for bit flips of specific bits and retest CRC.

Change-Id: Ib4838af1d051d9265efdbae67151c2c7d18148e6
Signed-off-by: default avatarMartin Sperl <kernel@martin.sperl.org>
Git-commit: 2fd01e5c
Git-repo: https://github.com/msperl/linux-rpi/releases/tag/mcp25xxfd-V8.2


Signed-off-by: default avatarKe Du <quic_kedu@quicinc.com>
parent 60785d80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment