From: Marc Kleine-Budde <mkl@pengutronix.de>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, linux-can@vger.kernel.org,
kernel@pengutronix.de, Marc Kleine-Budde <mkl@pengutronix.de>,
linux-stable <stable@vger.kernel.org>
Subject: [PATCH 7/9] can: flexcan: fix VF610 state transition issue
Date: Fri, 1 Dec 2017 15:17:37 +0100 [thread overview]
Message-ID: <20171201141739.5816-8-mkl@pengutronix.de> (raw)
In-Reply-To: <20171201141739.5816-1-mkl@pengutronix.de>
Enable FLEXCAN_QUIRK_BROKEN_PERR_STATE for VF610 to report correct state
transitions.
Tested-by: Mirza Krak <mirza.krak@gmail.com>
Cc: linux-stable <stable@vger.kernel.org> # >= v4.11
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/flexcan.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index eefddae2e99a..0626dcfd1f3d 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -189,7 +189,7 @@
* MX35 FlexCAN2 03.00.00.00 no 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
- * 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.
*/
@@ -297,7 +297,8 @@ static const struct flexcan_devtype_data fsl_imx6q_devtype_data = {
static const struct flexcan_devtype_data fsl_vf610_devtype_data = {
.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 = {
--
2.15.0
next prev parent reply other threads:[~2017-12-01 14:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-01 14:17 pull-request: can 2017-12-01 Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 1/9] can: kvaser_usb: free buf in error paths Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 2/9] can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 3/9] can: kvaser_usb: ratelimit errors if incomplete messages are received Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 4/9] can: ti_hecc: Fix napi poll return value for repoll Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 5/9] can: peak/pci: fix potential bug when probe() fails Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 6/9] can: flexcan: Update IRQ Err Passive information Marc Kleine-Budde
2017-12-01 14:17 ` Marc Kleine-Budde [this message]
2017-12-01 14:17 ` [PATCH 8/9] can: mcba_usb: fix typo Marc Kleine-Budde
2017-12-01 14:17 ` [PATCH 9/9] can: mcba_usb: fix device disconnect bug Marc Kleine-Budde
2017-12-03 14:58 ` pull-request: can 2017-12-01 David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171201141739.5816-8-mkl@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=davem@davemloft.net \
--cc=kernel@pengutronix.de \
--cc=linux-can@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).