From: Wolfgang Grandegger Date: Fri, 28 Sep 2012 03:17:15 +0000 (+0000) Subject: flexcan: disable bus error interrupts for the i.MX28 X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f72e5f00dea3eca9139a23cf70fbf18d62fd1db;p=pandora-kernel.git flexcan: disable bus error interrupts for the i.MX28 Due to a bug in most Flexcan cores, the bus error interrupt needs to be enabled. Otherwise we don't get any error warning or passive interrupts. This is _not_ necessary for the i.MX28 and this patch disables bus error interrupts if "berr-reporting" is not requested. This avoids bus error flooding, which might harm, especially on low-end systems. To handle such quirks of the Flexcan cores, a hardware feature flag has been introduced, also replacing the "hw_ver" variable. So far nobody could tell what Flexcan core version is available on what Freescale SOC, apart from the i.MX6Q and P1010, and which bugs or features are present on the various "hw_rev". CC: Hui Wang CC: Shawn Guo Signed-off-by: Wolfgang Grandegger Signed-off-by: David S. Miller --- Reading git-diff-tree failed