]> git.baikalelectronics.ru Git - kernel.git/commit
can: flexcan: add quirk FLEXCAN_QUIRK_ENABLE_EACEN_RRS
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 1 Sep 2015 06:57:55 +0000 (08:57 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Feb 2017 14:13:42 +0000 (15:13 +0100)
commitdfd413058325a2b7772b6e809a5dd411bbbddf57
tree33826e4957f696a23f55d007d71a44490082b5bd
parent2a9bd795db5734fa30278c490fb0e658a969efe4
can: flexcan: add quirk FLEXCAN_QUIRK_ENABLE_EACEN_RRS

In order to receive RTR frames in the non HW FIFO mode the RSS and EACEN bits
of the reg_ctrl2 have to be activated. As this has no side effect in the FIFO
mode, we do this unconditionally on cores with the reg_ctrl2.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c