Skip to content

Commit

Permalink
bcma: Add flush for BCMA_RESET_CTL write
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nathan Hintz authored and John W. Linville committed May 16, 2012
1 parent 16d75fa commit 044e68c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/bcma/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 044e68c

Please sign in to comment.