Skip to content

Commit 0ec9675

Browse files
legoabramjgl-meta
authored andcommitted
drivers: can: mcan: Move RF0L and RF1L to line 1
The code is designed to handle RF0L and RF1L in line 1, but they were being sent to line 0. Becuase they weren't handled, the interrupts would never be handled which locked up the chip. Signed-off-by: Abram Early <abram.early@gmail.com> (cherry picked from commit 6e789e7)
1 parent daca8f8 commit 0ec9675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/can/can_mcan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ int can_mcan_init(const struct device *dev)
14621462
return err;
14631463
}
14641464

1465-
reg = CAN_MCAN_ILS_RF0NL | CAN_MCAN_ILS_RF1NL;
1465+
reg = CAN_MCAN_ILS_RF0NL | CAN_MCAN_ILS_RF1NL | CAN_MCAN_ILS_RF0LL | CAN_MCAN_ILS_RF1LL;
14661466
err = can_mcan_write_reg(dev, CAN_MCAN_ILS, reg);
14671467
if (err != 0) {
14681468
return err;

0 commit comments

Comments
 (0)