commit | 30164759db1bb1062bdf0f92451f57ed295cfa48 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Sun May 10 15:26:58 2015 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Mon Feb 06 15:13:39 2017 +0100 |
tree | 87cf035dffe14e26a0e12a7e169e5caff5f7311d | |
parent | b93917c3700636dadc6688144e7d55e07699367b [diff] |
can: flexcan: make use of rx-offload's irq_offload_fifo This patch converts the flexcan driver to make use of the rx-offload can_rx_offload_irq_offload_fifo() helper function. The idea is to read the CAN frames already in the interrupt context, as the depth of the flexcan HW FIFO is too shallow, resulting in too many missed frames. During a normal NAPI poll the frames are the pushed into the upper layers. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>