diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-02-19 12:00:51 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-24 09:45:01 +0100 |
commit | e32578deab8a4d815dbb7211b47f099fb00b4bd5 (patch) | |
tree | 339f2796a149c50adb5a01b64aa6eed189b62baa /kernel/tracepoint.c | |
parent | fec89336c8ee13b65d2c982b81a8b6df48656497 (diff) | |
download | linux-rt-e32578deab8a4d815dbb7211b47f099fb00b4bd5.tar.gz |
can: flexcan: fix shutdown: first disable chip, then all interrupts
commit 5be93bdda64e85450598c6e97f79fb8f6acf30e0 upstream.
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.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'kernel/tracepoint.c')
0 files changed, 0 insertions, 0 deletions