summaryrefslogtreecommitdiff
path: root/drivers/net/appletalk
diff options
context:
space:
mode:
authorMarkus Schneider-Pargmann <msp@baylibre.com>2022-12-06 12:57:22 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-12-12 11:58:32 +0100
commit6355a3c983e6d6fc998f4223bd2c7ef047e4572b (patch)
tree9f389fa6353a786617425153968abb20e93a0a6b /drivers/net/appletalk
parentd4535b90a76af49d1dd7bc70ad0311a88ac5313d (diff)
can: m_can: Count read getindex in the driver
The getindex gets increased by one every time. We can calculate the correct getindex in the driver and avoid the additional reads of rxfs. Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Link: https://lore.kernel.org/all/20221206115728.1056014-6-msp@baylibre.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions