bcma: Add flush for BCMA_RESET_CTL write
authorNathan Hintz <nlhintz@hotmail.com>
Sat, 5 May 2012 04:56:36 +0000 (21:56 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:46:04 +0000 (12:46 -0400)
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>
drivers/bcma/core.c

index 98e243cd047911cc0c5ce26bd5810a5eb1dbf0a1..bc6e89212ad3813d901745dce2d31f1ff2f13977 100644 (file)
@@ -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);
This page took 0.024686 seconds and 5 git commands to generate.