From: Marc Kleine-Budde Date: Wed, 19 Feb 2014 11:00:51 +0000 (+0100) Subject: can: flexcan: fix shutdown: first disable chip, then all interrupts X-Git-Tag: v3.2.56~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fdcc8da46cec9fc4f240dbd7ec1e70713d464cc;p=pandora-kernel.git 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 [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed