diff options
author | Markus Schneider-Pargmann <msp@baylibre.com> | 2022-12-06 12:57:19 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-12-12 11:58:32 +0100 |
commit | 57757937974988dc8feb7cf66b17dca72bca813b (patch) | |
tree | 8fbe04f4120714554ac69537a7d8403e2606e0a6 /drivers/cxl | |
parent | c1eaf8b9bd3145d029446c927e1c9ce925dfe6a7 (diff) | |
download | linux-57757937974988dc8feb7cf66b17dca72bca813b.tar.bz2 |
can: m_can: Avoid reading irqstatus twice
For peripheral devices the m_can_rx_handler is called directly after
setting cdev->irqstatus. This means we don't have to read the irqstatus
again in m_can_rx_handler. Avoid this by adding a parameter that is
false for direct calls.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/all/20221206115728.1056014-3-msp@baylibre.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions