From 25d7de299ea3a2506de905c7822337062f9b07f1 Mon Sep 17 00:00:00 2001 From: Abram Early Date: Tue, 3 Oct 2023 16:45:13 -0600 Subject: [PATCH] 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 --- drivers/can/can_mcan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/can/can_mcan.c b/drivers/can/can_mcan.c index b49f6c7c5ed69..df79635026309 100644 --- a/drivers/can/can_mcan.c +++ b/drivers/can/can_mcan.c @@ -1511,7 +1511,7 @@ int can_mcan_init(const struct device *dev) return err; } - reg = CAN_MCAN_ILS_RF0NL | CAN_MCAN_ILS_RF1NL; + reg = CAN_MCAN_ILS_RF0NL | CAN_MCAN_ILS_RF1NL | CAN_MCAN_ILS_RF0LL | CAN_MCAN_ILS_RF1LL; err = can_mcan_write_reg(dev, CAN_MCAN_ILS, reg); if (err != 0) { return err;