From: Nathan Hintz Date: Sat, 5 May 2012 04:56:36 +0000 (-0700) Subject: bcma: Add flush for BCMA_RESET_CTL write X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=044e68c0cd01a70fd4929ce19ce52ba5df839b22;p=deliverable%2Flinux.git 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 Signed-off-by: John W. Linville --- 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);