From: Wolfgang Grandegger Date: Mon, 12 Dec 2011 15:09:28 +0000 (+0100) Subject: can: flexcan: fix irq flooding by clearing all interrupt sources X-Git-Tag: v3.3-rc4~34^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e9d554fa6e481a848358c215f129432262123c0;p=pandora-kernel.git can: flexcan: fix irq flooding by clearing all interrupt sources As pointed out by Reuben Dowle and Lothar Waßmann, the TWRN_INT, RWRN_INT, BOFF_INT interrupt sources need to be cleared as well to avoid interrupt flooding, at least for the Flexcan on i.MX28 SOCs. Furthermore, the interrupts are only cleared, if really one of those interrupt sources are pending (which is not the case for rx and tx done). Cc: Reuben Dowle Cc: Lothar Waßmann Signed-off-by: Wolfgang Grandegger Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed