mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
can: flexcan: fix VF610 state transition issue
commit 29c64b17a0 upstream.
Enable FLEXCAN_QUIRK_BROKEN_PERR_STATE for VF610 to report correct state
transitions.
Tested-by: Mirza Krak <mirza.krak@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5b65e2916c
commit
3979725463
@@ -189,7 +189,7 @@
|
|||||||
* MX35 FlexCAN2 03.00.00.00 no no ? no no
|
* MX35 FlexCAN2 03.00.00.00 no no ? no no
|
||||||
* MX53 FlexCAN2 03.00.00.00 yes no no no no
|
* MX53 FlexCAN2 03.00.00.00 yes no no no no
|
||||||
* MX6s FlexCAN3 10.00.12.00 yes yes no no yes
|
* MX6s FlexCAN3 10.00.12.00 yes yes no no yes
|
||||||
* VF610 FlexCAN3 ? no yes ? yes yes?
|
* VF610 FlexCAN3 ? no yes no yes yes?
|
||||||
*
|
*
|
||||||
* Some SOCs do not have the RX_WARN & TX_WARN interrupt line connected.
|
* Some SOCs do not have the RX_WARN & TX_WARN interrupt line connected.
|
||||||
*/
|
*/
|
||||||
@@ -297,7 +297,8 @@ static const struct flexcan_devtype_data fsl_imx6q_devtype_data = {
|
|||||||
|
|
||||||
static const struct flexcan_devtype_data fsl_vf610_devtype_data = {
|
static const struct flexcan_devtype_data fsl_vf610_devtype_data = {
|
||||||
.quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_ENABLE_EACEN_RRS |
|
.quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_ENABLE_EACEN_RRS |
|
||||||
FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_USE_OFF_TIMESTAMP,
|
FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_USE_OFF_TIMESTAMP |
|
||||||
|
FLEXCAN_QUIRK_BROKEN_PERR_STATE,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct can_bittiming_const flexcan_bittiming_const = {
|
static const struct can_bittiming_const flexcan_bittiming_const = {
|
||||||
|
|||||||
Reference in New Issue
Block a user