aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMarkus Schneider-Pargmann <[email protected]>2022-12-06 12:57:19 +0100
committerMarc Kleine-Budde <[email protected]>2022-12-12 11:58:32 +0100
commit57757937974988dc8feb7cf66b17dca72bca813b (patch)
tree8fbe04f4120714554ac69537a7d8403e2606e0a6 /lib/mpi/mpi-sub-ui.c
parentc1eaf8b9bd3145d029446c927e1c9ce925dfe6a7 (diff)
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 <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions