From: Alexander Stein Date: Tue, 12 Aug 2014 08:47:21 +0000 (+0200) Subject: can: flexcan: Disable error interrupt when bus error reporting is disabled X-Git-Tag: omap-for-v3.17/fixes-against-rc2~24^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc03a54139baafcd8fe89ad115411c2c9c8a4905;p=pandora-kernel.git can: flexcan: Disable error interrupt when bus error reporting is disabled In case we don't have FLEXCAN_HAS_BROKEN_ERR_STATE and the user set CAN_CTRLMODE_BERR_REPORTING once it can not be unset again until reboot. So in case neither hardware nor user wants the error interrupt disable the bit. Signed-off-by: Alexander Stein Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed