kernel: bump 5.4 to 5.4.80
[openwrt/staging/hauke.git] / target / linux / layerscape / patches-5.4 / 802-can-0008-can-flexcan-flexcan_irq_state-only-read-timestamp-if.patch
index 9c2dde99a96096ae48e152499620a15d664e839f..92fedc6b8c44f1b8ddef8832d768b8646d6217f4 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
 
 --- a/drivers/net/can/flexcan.c
 +++ b/drivers/net/can/flexcan.c
-@@ -743,8 +743,6 @@ static void flexcan_irq_state(struct net
+@@ -745,8 +745,6 @@ static void flexcan_irq_state(struct net
        u32 timestamp;
        int err;
  
@@ -27,7 +27,7 @@ Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
        flt = reg_esr & FLEXCAN_ESR_FLT_CONF_MASK;
        if (likely(flt == FLEXCAN_ESR_FLT_CONF_ACTIVE)) {
                tx_state = unlikely(reg_esr & FLEXCAN_ESR_TX_WRN) ?
-@@ -764,6 +762,8 @@ static void flexcan_irq_state(struct net
+@@ -766,6 +764,8 @@ static void flexcan_irq_state(struct net
        if (likely(new_state == priv->can.state))
                return;