arm: tegra: clock: Reading APB bus before disabling clock
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 23 May 2011 08:25:09 +0000 (13:25 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 06:26:01 +0000 (23:26 -0700)
commit7d00c43c4bd21dcf3cd0dc954ca93ad1b3c1cf25
tree6caac4e2b3ddfa0a56cfebff1fae21ea49bfece2
parente98c391ffd1acb3a66faf27d9dc04772d18d6014
arm: tegra: clock: Reading APB bus before disabling clock

It may be possible that write operation on apb bus does not get
complete before disabling clock if the clock is disabled just after
the write on apb bus.
To have proper sequence of operation, it is require to read back the
apb bus to make sure the write operation is completed.

bug 830481

Original-Change-Id: If4767b77a9ac8fdf3253e19d6aebed6c1d13dc5a
Reviewed-on: http://git-master/r/32556
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R16af6944cdb3cb87ef6c62fe90dd6481af2a2c2a
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/tegra2_clocks.c
arch/arm/mach-tegra/tegra3_clocks.c