diff options
author | Torin Cooper-Bennun <torin@maxiluxsystems.com> | 2021-05-04 13:51:22 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-27 09:42:23 +0200 |
commit | 0f31571668914f421dab628c45eeb391aaa127ef (patch) | |
tree | 7ac590b6b17b3e0471ad93ab4b3b8ec2673625c3 /lib/bootconfig.c | |
parent | 38395f302f4d63b8373d2340fddd225f7b644882 (diff) | |
download | linux-0f31571668914f421dab628c45eeb391aaa127ef.tar.bz2 |
can: m_can: make TXESC, RXESC config more explicit
Introduce masks for the three RXESC fields (RBDS, F1DS, F0DS) and the
one TXESC field (TBDS). Update m_can_chip_config() to explicitly set all
four fields to the 64-byte option (0x7) (and these defs are renamed to
be more concise).
This is an improvement in maintainability, and also makes it easier to
implement more flexible configuration of the M_CAN buffers in the
future.
Link: https://lore.kernel.org/r/20210504125123.500553-4-torin@maxiluxsystems.com
Signed-off-by: Torin Cooper-Bennun <torin@maxiluxsystems.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/bootconfig.c')
0 files changed, 0 insertions, 0 deletions