commit | 5601b2dfae86198667dd6e075a074fbef0c83423 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Oct 20 00:02:25 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 21 04:27:03 2010 -0700 |
tree | f099538e1603c4c326228cd4cd21cf1c055b3938 | |
parent | 1e55659ce6ddb5247cee0b1f720d77a799902b85 [diff] |
can: mcp251x: fix endless loop in interrupt handler if CANINTF_MERRF is set Commit d3cd15657516141adce387810be8cb377baf020e 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>