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:
parent
a5d15ec017
commit
6e789e7492
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue