Commit 57b1945b authored by Martin Sperl's avatar Martin Sperl Committed by Ke Du
Browse files

can: mcp25xxfd: optimize TEF read avoiding unnecessary SPI transfers



We have already enough information to know how many tx-messages have
been terminated so that we do not have to query TEF every time if
there is anything pending but we can read the tefs blindly.

This avoids 1 SPI transfer per TEF read.

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


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