summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-03 20:18:41 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-03 20:18:41 +0000
commit14f0acdc28029cf1766e115ab73231adcdbe1923 (patch)
tree5244cf8b56b2b405ee9d319ad684fbd3343ba54d /target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch
parentd0f3681e1e384dd7f11bc8ce8cd43c4fdff897d9 (diff)
brcm47xx: add support for kernel 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31573 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch b/target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch
new file mode 100644
index 000000000..285c356ad
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.3/239-bcma-add-flush-for-resetctl-write.patch
@@ -0,0 +1,10 @@
+--- a/drivers/bcma/core.c
++++ b/drivers/bcma/core.c
+@@ -30,6 +30,7 @@ void bcma_core_disable(struct bcma_devic
+ udelay(10);
+
+ bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET);
++ bcma_aread32(core, BCMA_RESET_CTL);
+ udelay(1);
+ }
+ EXPORT_SYMBOL_GPL(bcma_core_disable);