summaryrefslogtreecommitdiff
path: root/Documentation/kernel-hacking
diff options
context:
space:
mode:
authorTorin Cooper-Bennun <torin@maxiluxsystems.com>2021-05-04 15:51:22 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-05-27 10:42:23 +0300
commit0f31571668914f421dab628c45eeb391aaa127ef (patch)
tree7ac590b6b17b3e0471ad93ab4b3b8ec2673625c3 /Documentation/kernel-hacking
parent38395f302f4d63b8373d2340fddd225f7b644882 (diff)
downloadlinux-0f31571668914f421dab628c45eeb391aaa127ef.tar.xz
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 'Documentation/kernel-hacking')
0 files changed, 0 insertions, 0 deletions