diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-20 16:48:36 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-20 16:48:36 +0200 |
commit | b9cde0722a96d3cfce1784cf4659409058b08e36 (patch) | |
tree | 0aea35535aa609c82c36b6ff17aa82bb14682202 /target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch | |
parent | d42ccc9f28aca96bdd7c83cfac43ae81d24bc5a2 (diff) | |
download | master-187ad058-b9cde0722a96d3cfce1784cf4659409058b08e36.tar.gz master-187ad058-b9cde0722a96d3cfce1784cf4659409058b08e36.tar.bz2 master-187ad058-b9cde0722a96d3cfce1784cf4659409058b08e36.zip |
ar71xx: fix DDR write buffer flushing issues with 4.4
Signed-off-by: Felix Fietkau <nbd@nbd.name>
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 0e33674adf..61b6b4ee16 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,7 +29,9 @@ - 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; @@ -41,9 +43,7 @@ + + 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) |