summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorNathan Hintz <nlhintz@hotmail.com>2012-05-04 21:56:36 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 12:46:04 -0400
commit044e68c0cd01a70fd4929ce19ce52ba5df839b22 (patch)
tree80167cef195c4975ada845e6d6a177bcec73758d /drivers/bcma
parent16d75faed98250423abdaf1fa0a3719c5e4e8b45 (diff)
downloadop-kernel-dev-044e68c0cd01a70fd4929ce19ce52ba5df839b22.zip
op-kernel-dev-044e68c0cd01a70fd4929ce19ce52ba5df839b22.tar.gz
bcma: Add flush for BCMA_RESET_CTL write
Adds a missing read to flush the previous write (per the Broadcom SDK). Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/core.c b/drivers/bcma/core.c
index 98e243c..bc6e892 100644
--- a/drivers/bcma/core.c
+++ b/drivers/bcma/core.c
@@ -30,6 +30,7 @@ void bcma_core_disable(struct bcma_device *core, u32 flags)
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);
OpenPOWER on IntegriCloud