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>
This commit is contained in:
Abram Early 2023-10-03 16:45:13 -06:00 committed by Johan Hedberg
commit 6e789e7492

View file

@ -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;