diff options
author | Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> | 2016-12-16 11:33:38 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-20 09:35:36 +0100 |
commit | 79abb8f140c0081145acc832cbbd65afcdd0176b (patch) | |
tree | cb15543c2d9908e5d6f5d969eac2252b1c4f6619 /target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch | |
parent | 6a902108a8da710f5359db82bd8295eed571f0de (diff) | |
download | upstream-79abb8f140c0081145acc832cbbd65afcdd0176b.tar.gz upstream-79abb8f140c0081145acc832cbbd65afcdd0176b.tar.bz2 upstream-79abb8f140c0081145acc832cbbd65afcdd0176b.zip |
kernel: bump to 4.4.39
Bump & refresh patches for all 4.4 targets.
Compile & run tested: ar71xx Archer C7 v2
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch')
-rw-r--r-- | target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch b/target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch index 61b6b4ee16..0e33674adf 100644 --- a/target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch +++ b/target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch @@ -29,9 +29,7 @@ - u32 bootstrap; + void __iomem *phy_reg; + u32 t; - -- bootstrap = ath79_reset_rr(AR934X_RESET_REG_BOOTSTRAP); -- if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE) ++ + phy_reg = ioremap(base, 4); + if (!phy_reg) + return; @@ -43,7 +41,9 @@ + + iounmap(phy_reg); +} -+ + +- bootstrap = ath79_reset_rr(AR934X_RESET_REG_BOOTSTRAP); +- if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE) +static void ar934x_usb_reset_notifier(struct platform_device *pdev) +{ + if (pdev->id != -1) |