Skip to content

Commit 31782a0

Browse files
committed
Merge tag 'linux-can-fixes-for-5.14-20210810' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
linux-can-fixes-for-5.14-20210810 Marc Kleine-Budde says: ==================== pull-request: can 2021-08-10 this is a pull request of 2 patches for net/master. Baruch Siach's patch fixes a typo for the Microchip CAN BUS Analyzer Tool entry in the MAINTAINERS file. Hussein Alasadi fixes the setting of the M_CAN_DBTP register in the m_can driver. The regression git mainline in v5.14-rc1, so no backport to stable is needed. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 6a279f6 + aae32b7 commit 31782a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11327,7 +11327,7 @@ W: https://linuxtv.org
1132711327
T: git git://linuxtv.org/media_tree.git
1132811328
F: drivers/media/radio/radio-maxiradio*
1132911329

11330-
MCAB MICROCHIP CAN BUS ANALYZER TOOL DRIVER
11330+
MCBA MICROCHIP CAN BUS ANALYZER TOOL DRIVER
1133111331
R: Yasushi SHOJI <[email protected]>
1133211332
1133311333
S: Maintained

drivers/net/can/m_can/m_can.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,10 +1164,10 @@ static int m_can_set_bittiming(struct net_device *dev)
11641164
FIELD_PREP(TDCR_TDCO_MASK, tdco));
11651165
}
11661166

1167-
reg_btp = FIELD_PREP(NBTP_NBRP_MASK, brp) |
1168-
FIELD_PREP(NBTP_NSJW_MASK, sjw) |
1169-
FIELD_PREP(NBTP_NTSEG1_MASK, tseg1) |
1170-
FIELD_PREP(NBTP_NTSEG2_MASK, tseg2);
1167+
reg_btp |= FIELD_PREP(DBTP_DBRP_MASK, brp) |
1168+
FIELD_PREP(DBTP_DSJW_MASK, sjw) |
1169+
FIELD_PREP(DBTP_DTSEG1_MASK, tseg1) |
1170+
FIELD_PREP(DBTP_DTSEG2_MASK, tseg2);
11711171

11721172
m_can_write(cdev, M_CAN_DBTP, reg_btp);
11731173
}

0 commit comments

Comments
 (0)