diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-02-19 06:00:51 -0500 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-03-03 06:40:52 -0500 |
commit | 5be93bdda64e85450598c6e97f79fb8f6acf30e0 (patch) | |
tree | ec4522c10a34495e6cc8f13e1ef1f62de89d1ce9 /samples | |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions