diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-03-18 17:19:14 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-04-01 09:55:01 (GMT) |
commit | 5a7513adab521909e836fa5b9aaabbf22b48859f (patch) | |
tree | 438976107899ac0787e5a53964daea7f394868e4 /usr/Makefile | |
parent | 902470085406934d3f20c4af02de7d79c01b6b93 (diff) | |
download | linux-5a7513adab521909e836fa5b9aaabbf22b48859f.tar.xz |
can: c_can: Simplify TX interrupt cleanup
The function loads the message object from the hardware to get the
payload length. The previous patch stores that information in an
array, so we can avoid the hardware access.
Remove the hardware access and move the led toggle outside of the
spinlocked region. Toggle the led only once when at least one packet
has been received.
Binary size shrinks along with the code
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions