diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2012-05-05 00:56:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 12:46:04 -0400 |
commit | 044e68c0cd01a70fd4929ce19ce52ba5df839b22 (patch) | |
tree | 80167cef195c4975ada845e6d6a177bcec73758d /drivers/bcma/core.c | |
parent | 16d75faed98250423abdaf1fa0a3719c5e4e8b45 (diff) |
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/core.c')
-rw-r--r-- | drivers/bcma/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/core.c b/drivers/bcma/core.c index 98e243cd0479..bc6e89212ad3 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) | |||
30 | udelay(10); | 30 | udelay(10); |
31 | 31 | ||
32 | bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET); | 32 | bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET); |
33 | bcma_aread32(core, BCMA_RESET_CTL); | ||
33 | udelay(1); | 34 | udelay(1); |
34 | } | 35 | } |
35 | EXPORT_SYMBOL_GPL(bcma_core_disable); | 36 | EXPORT_SYMBOL_GPL(bcma_core_disable); |