summaryrefslogtreecommitdiff
path: root/drivers/net/can/flexcan.c
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-11-22 03:06:46 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-11-22 03:06:45 -0800
commitee5ed64f739b51590ac586f8386f90f75b4777d3 (patch)
tree0f27b4f5b70cb27205462de34562beb627597847 /drivers/net/can/flexcan.c
parentee4cdc8d6314c7fbcc487a9901c550f1beb82da3 (diff)
parentacd0aacb7e54796116ea6964c17e8874376dbe34 (diff)
Merge "Merge android-4.4-p.202 (a4d443b7) into msm-4.4"
Diffstat (limited to 'drivers/net/can/flexcan.c')
-rw-r--r--drivers/net/can/flexcan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index baef09b9449f..6b866d0451b2 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -923,6 +923,7 @@ static int flexcan_chip_start(struct net_device *dev)
reg_mecr = flexcan_read(&regs->mecr);
reg_mecr &= ~FLEXCAN_MECR_ECRWRDIS;
flexcan_write(reg_mecr, &regs->mecr);
+ reg_mecr |= FLEXCAN_MECR_ECCDIS;
reg_mecr &= ~(FLEXCAN_MECR_NCEFAFRZ | FLEXCAN_MECR_HANCEI_MSK |
FLEXCAN_MECR_FANCEI_MSK);
flexcan_write(reg_mecr, &regs->mecr);