diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-07-13 16:25:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-07-13 16:25:56 +0000 |
commit | 68871def8d8fba33933087356347b955d8dcd4d3 (patch) | |
tree | 644a7798f3a6b993f5226a1388e030e26f03c043 /target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch | |
parent | d0ad8c00b6cc0716feae5d12c2ae5b4717c4ac29 (diff) | |
download | upstream-68871def8d8fba33933087356347b955d8dcd4d3.tar.gz upstream-68871def8d8fba33933087356347b955d8dcd4d3.tar.bz2 upstream-68871def8d8fba33933087356347b955d8dcd4d3.zip |
ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41615
Diffstat (limited to 'target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch b/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch index 696ad335e5..0e33674adf 100644 --- a/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch +++ b/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch @@ -29,13 +29,11 @@ - 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; - ++ return; ++ + t = ioread32(phy_reg); + t &= ~0xff; + t |= 0x58; @@ -43,12 +41,14 @@ + + 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) -+ return; -+ + return; + + enable_tx_tx_idp_violation_fix(0x18116c94); + dev_info(&pdev->dev, "TX-TX IDP fix enabled\n"); +} |