commit | bc03a54139baafcd8fe89ad115411c2c9c8a4905 | [log] [tgz] |
---|---|---|
author | Alexander Stein <alexander.stein@systec-electronic.com> | Tue Aug 12 10:47:21 2014 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Aug 21 10:49:59 2014 +0200 |
tree | d31283e9f29a68e5975e611a16addc88b70d4cd3 | |
parent | 37b75a3aa8ec7031df75219fe2f8e5e9b7be398f [diff] |
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>