|
|
@@ -720,9 +720,14 @@ static unsigned int flexcan_mailbox_read(struct can_rx_offload *offload,
|
|
|
priv->write(BIT(n - 32), ®s->iflag2);
|
|
|
} else {
|
|
|
priv->write(FLEXCAN_IFLAG_RX_FIFO_AVAILABLE, ®s->iflag1);
|
|
|
- priv->read(®s->timer);
|
|
|
}
|
|
|
|
|
|
+ /* Read the Free Running Timer. It is optional but recommended
|
|
|
+ * to unlock Mailbox as soon as possible and make it available
|
|
|
+ * for reception.
|
|
|
+ */
|
|
|
+ priv->read(®s->timer);
|
|
|
+
|
|
|
return 1;
|
|
|
}
|
|
|
|