can: m_can: Batch FIFO writes during CAN transmit
authorMatt Kline <matt@bitbashing.io>
Tue, 17 Aug 2021 05:08:53 +0000 (22:08 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 19 Aug 2021 13:07:04 +0000 (15:07 +0200)
commit812270e5445bd13859b70f9510e84068c6778333
treec1cb00707b2a6fb638586f70fe5dec32f49b7680
parent1aa6772f64b4a6763f14ae68455d7e42333e208e
can: m_can: Batch FIFO writes during CAN transmit

Give FIFO writes the same treatment as reads to avoid fixed costs of
individual transfers on a slow bus (e.g., tcan4x5x).

Link: https://lore.kernel.org/r/20210817050853.14875-4-matt@bitbashing.io
Signed-off-by: Matt Kline <matt@bitbashing.io>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c