diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-02-25 21:54:39 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-02-25 21:54:39 +0000 |
commit | cb04b8d58201f6aa35f99b76ee8b3435beb7a01e (patch) | |
tree | f6b54298f21d3ba2166fd1621f86390e5c554f1a /target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch | |
parent | 53814290e7f58f205c74ad1c2f8cedb7e1c2b5ef (diff) | |
download | upstream-cb04b8d58201f6aa35f99b76ee8b3435beb7a01e.tar.gz upstream-cb04b8d58201f6aa35f99b76ee8b3435beb7a01e.tar.bz2 upstream-cb04b8d58201f6aa35f99b76ee8b3435beb7a01e.zip |
kernel: update kernel 4.4 to version 4.4.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48783
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) |