aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.9/0099-pci-mt7620.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-02-13 12:38:27 +0100
committerJohn Crispin <john@phrozen.org>2017-02-14 12:17:52 +0100
commit9c2422709075196022fcbc2d0f5f83e01d02b951 (patch)
tree4f18a4dd9d22fcbe10c0365596dd133cf28383be /target/linux/ramips/patches-4.9/0099-pci-mt7620.patch
parentd5221d5a419c14456bccba9f6825567839082fb0 (diff)
downloadupstream-9c2422709075196022fcbc2d0f5f83e01d02b951.tar.gz
upstream-9c2422709075196022fcbc2d0f5f83e01d02b951.tar.bz2
upstream-9c2422709075196022fcbc2d0f5f83e01d02b951.zip
ramips: add v4.9 support
NAND support is missing Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ramips/patches-4.9/0099-pci-mt7620.patch')
-rw-r--r--target/linux/ramips/patches-4.9/0099-pci-mt7620.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.9/0099-pci-mt7620.patch b/target/linux/ramips/patches-4.9/0099-pci-mt7620.patch
new file mode 100644
index 0000000000..d2d8eeb833
--- /dev/null
+++ b/target/linux/ramips/patches-4.9/0099-pci-mt7620.patch
@@ -0,0 +1,19 @@
+--- a/arch/mips/pci/pci-mt7620.c
++++ b/arch/mips/pci/pci-mt7620.c
+@@ -33,7 +33,6 @@
+ #define RALINK_GPIOMODE 0x60
+
+ #define PPLL_CFG1 0x9c
+-#define PDRV_SW_SET BIT(23)
+
+ #define PPLL_DRV 0xa0
+ #define PDRV_SW_SET (1<<31)
+@@ -121,7 +120,7 @@
+ else
+ break;
+ if (retry++ > WAITRETRY_MAX) {
+- printk(KERN_WARN "PCIE-PHY retry failed.\n");
++ pr_warn("PCIE-PHY retry failed.\n");
+ return -1;
+ }
+ }