commit | 5be93bdda64e85450598c6e97f79fb8f6acf30e0 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Feb 19 12:00:51 2014 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Mon Mar 03 12:40:52 2014 +0100 |
tree | ec4522c10a34495e6cc8f13e1ef1f62de89d1ce9 | |
parent | 635d61a3735e05c8da72740006670f819e5b6a5f [diff] |
can: flexcan: fix shutdown: first disable chip, then all interrupts When shutting down the CAN interface (ifconfig canX down) during high CAN bus loads, the CAN core might hang and freeze the whole CPU. This patch fixes the shutdown sequence by first disabling the CAN core then disabling all interrupts. Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>