Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 044e68c0 authored by Nathan Hintz's avatar Nathan Hintz Committed by John W. Linville
Browse files

bcma: Add flush for BCMA_RESET_CTL write



Adds a missing read to flush the previous write (per the Broadcom SDK).

Signed-off-by: default avatarNathan Hintz <nlhintz@hotmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 16d75fae
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -30,6 +30,7 @@ void bcma_core_disable(struct bcma_device *core, u32 flags)
	udelay(10);
	udelay(10);


	bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET);
	bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET);
	bcma_aread32(core, BCMA_RESET_CTL);
	udelay(1);
	udelay(1);
}
}
EXPORT_SYMBOL_GPL(bcma_core_disable);
EXPORT_SYMBOL_GPL(bcma_core_disable);