diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2014-08-12 08:47:21 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:38:30 (GMT) |
commit | 501b81d0dc746b9f323c5b597c94b492012e7495 (patch) | |
tree | 0e34bc7c44b1085f6c50415123217b6844996322 /net/dsa | |
parent | 81749756100bb0d4f8977a92a5e2cb6deb21e296 (diff) | |
download | linux-fsl-qoriq-501b81d0dc746b9f323c5b597c94b492012e7495.tar.xz |
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 <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
Cherry-picked from linux-next: bc03a54139baafcd8fe89ad115411c2c9c8a4905
Change-Id: Ieb52a8f0cc761a37faf4556284bf2c922c6bec79
Reviewed-on: http://git.am.freescale.net:8181/21844
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions