diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-04-13 21:27:01 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-17 21:56:05 +0200 |
commit | fa6f57f66c1286c7b649de01de0b994e4e27626e (patch) | |
tree | e8c438ef2d01f658fd4de9896cf3b7db032587a6 /target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch | |
parent | 17e690017d76c49070bc99d6a376b1926259c5ff (diff) | |
download | upstream-fa6f57f66c1286c7b649de01de0b994e4e27626e.tar.gz upstream-fa6f57f66c1286c7b649de01de0b994e4e27626e.tar.bz2 upstream-fa6f57f66c1286c7b649de01de0b994e4e27626e.zip |
ramips: replace mt7621s hack with upstream patch
Refresh patches.
Tested on a dual-core MT7621 device (Ubiquiti ER-X) and a single-core
MT7621 device (Netgear R6220).
This change will make future kernel upgrades easier (avoids conflicts
with upstream).
Link: https://lore.kernel.org/lkml/20210407200738.149207-1-ilya.lipnitskiy@gmail.com/
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Cc: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch')
-rw-r--r-- | target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch b/target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch index be5fee54b2..87f8081367 100644 --- a/target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch +++ b/target/linux/ramips/patches-5.10/322-mt7621-fix-cpu-clk-add-clkdev.patch @@ -36,7 +36,7 @@ #define MT7621_DDR2_SIZE_MAX 256 --- a/arch/mips/ralink/mt7621.c +++ b/arch/mips/ralink/mt7621.c -@@ -9,6 +9,10 @@ +@@ -9,12 +9,17 @@ #include <linux/init.h> #include <linux/slab.h> #include <linux/sys_soc.h> @@ -47,15 +47,14 @@ #include <asm/mipsregs.h> #include <asm/smp-ops.h> -@@ -16,6 +20,7 @@ + #include <asm/mips-cps.h> #include <asm/mach-ralink/ralink_regs.h> #include <asm/mach-ralink/mt7621.h> - #include <asm/mips-boards/launch.h> +#include <asm/time.h> #include <pinmux.h> -@@ -106,11 +111,89 @@ static struct rt2880_pmx_group mt7621_pi +@@ -105,11 +110,89 @@ static struct rt2880_pmx_group mt7621_pi { 0 } }; |