diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2012-05-05 06:56:36 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 18:46:04 +0200 |
commit | 044e68c0cd01a70fd4929ce19ce52ba5df839b22 (patch) | |
tree | 80167cef195c4975ada845e6d6a177bcec73758d /drivers/bcma | |
parent | bcma: Add __devexit to bcma_host_pci_remove (diff) | |
download | linux-044e68c0cd01a70fd4929ce19ce52ba5df839b22.tar.xz linux-044e68c0cd01a70fd4929ce19ce52ba5df839b22.zip |
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.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) 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); |