diff options
author | Joakim Zhang <qiangqing.zhang@nxp.com> | 2019-08-15 08:00:26 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-12 19:16:10 +0100 |
commit | d6b15585bca178ec6faec6a076e4b133ee3a010d (patch) | |
tree | fb98cbcd86f17c7c348be365606dd6ed5f04f80f /mm | |
parent | 818226c0625e5dda5ae32e959764c55912104fca (diff) |
can: flexcan: disable completely the ECC mechanism
[ Upstream commit 5e269324db5adb2f5f6ec9a93a9c7b0672932b47 ]
The ECC (memory error detection and correction) mechanism can be
activated or not, controlled by the ECCDIS bit in CAN_MECR. When
disabled, updates on indications and reporting registers are stopped.
So if want to disable ECC completely, had better assert ECCDIS bit, not
just mask the related interrupts.
Fixes: cdce844865be ("can: flexcan: add vf610 support for FlexCAN")
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions