diff options
author | Dario Binacchi <dariobin@libero.it> | 2021-03-02 22:54:34 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-03-30 11:14:53 +0200 |
commit | 13831ce69c775fb8186275fdeb91fa6daff2196c (patch) | |
tree | 151d03a2425c831b73971e326718e22e1936c1b6 /LICENSES | |
parent | can: c_can: use 32-bit write to set arbitration register (diff) | |
download | linux-13831ce69c775fb8186275fdeb91fa6daff2196c.tar.xz linux-13831ce69c775fb8186275fdeb91fa6daff2196c.zip |
can: c_can: prepare to up the message objects number
As pointed by commit c0a9f4d396c9 ("can: c_can: Reduce register
access") the "driver casts the 16 message objects in stone, which is
completely braindead as contemporary hardware has up to 128 message
objects".
The patch prepares the module to extend the number of message objects
beyond the 32 currently managed. This was achieved by transforming the
constants used to manage RX/TX messages into variables without
changing the driver policy.
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210302215435.18286-6-dariobin@libero.it
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions