Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: mcp251x: fix endless loop in interrupt handler if CANINTF_MERRF …
…is set Commit d3cd156 introduced a bug, the interrupt handler would loop endlessly if the CANINTF_MERRF bit is set, because it's not cleared. This patch fixes the problem by masking out the CANINTF_MERRF and all other non interesting bits. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information