can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 18 Sep 2018 09:40:41 +0000 (11:40 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 9 Nov 2018 16:33:33 +0000 (17:33 +0100)
commitd788905f68fd4714c82936f6f7f1d3644d7ae7ef
treea83abb2d6bcc03109543ab68b78bf5bfe17e7707
parent4530ec36bb1e0d24f41c33229694adacda3d5d89
can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()

Currently, in case of bus error, driver will generate error message and put
in the tail of the message queue. To avoid confusions, this change should
place the bus related messages in proper order.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c