mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 20:08:24 +00:00
6042526606
Manually rebased patches: ath79/patches-5.4/910-unaligned_access_hacks.patch bcm27xx/patches-5.4/950-0135-spi-spi-bcm2835-Disable-forced-software-CS.patch bcm27xx/patches-5.4/950-0414-SQUASH-Fix-spi-driver-compiler-warnings.patch ipq806x/patches-5.4/093-4-v5.8-ipq806x-PCI-qcom-Use-bulk-clk-api-and-assert-on-error.patch Removed since could be reverse-applied by quilt and found to be included upstream: ipq806x/patches-5.4/096-PCI-qcom-Make-sure-PCIe-is-reset-before-init-for-rev.patch All modifications made by update_kernel.sh Build system: x86_64 Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711 Run-tested: ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us> [refresh altered targets after rebase] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: maurerr <mariusd84@gmail.com>
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From f7f3c7abdef9fb6c9668a3945ec791fb206b4ee8 Mon Sep 17 00:00:00 2001
|
|
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
Date: Fri, 1 Mar 2019 16:29:47 +0100
|
|
Subject: [PATCH] can: flexcan: flexcan_irq(): rename variable reg_iflag ->
|
|
reg_iflag_rx
|
|
|
|
This patch renames the variable reg_iflag in the flexcan_irq() function
|
|
to reg_iflag_rx. This better reflects the contents of the varibale. It
|
|
does not hold the unmodified iflag registers, instead all non RX
|
|
interrupts have been masked.
|
|
|
|
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
---
|
|
drivers/net/can/flexcan.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/net/can/flexcan.c
|
|
+++ b/drivers/net/can/flexcan.c
|
|
@@ -897,13 +897,13 @@ static irqreturn_t flexcan_irq(int irq,
|
|
|
|
/* reception interrupt */
|
|
if (priv->devtype_data->quirks & FLEXCAN_QUIRK_USE_OFF_TIMESTAMP) {
|
|
- u64 reg_iflag;
|
|
+ u64 reg_iflag_rx;
|
|
int ret;
|
|
|
|
- while ((reg_iflag = flexcan_read_reg_iflag_rx(priv))) {
|
|
+ while ((reg_iflag_rx = flexcan_read_reg_iflag_rx(priv))) {
|
|
handled = IRQ_HANDLED;
|
|
ret = can_rx_offload_irq_offload_timestamp(&priv->offload,
|
|
- reg_iflag);
|
|
+ reg_iflag_rx);
|
|
if (!ret)
|
|
break;
|
|
}
|