]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1f4f11a770580b68d86c0b1e37ea842a6b68bcb
treea83abb2d6bcc03109543ab68b78bf5bfe17e7707
parentb7cb28117d3bd821187caccc372d8bf0fe9a18e8
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