ARM: tegra: power: Don't change mode of uninitialized DFLL
authorAlex Frid <afrid@nvidia.com>
Tue, 15 Oct 2013 01:37:13 +0000 (18:37 -0700)
committerYu-Huan Hsu <yhsu@nvidia.com>
Thu, 17 Oct 2013 17:25:41 +0000 (10:25 -0700)
commit964e47798d989fcc2245309b884714e64ca68b8a
tree24411625afbc27532671322b45766bb6f24dd326
parentf896114411ed35752c820043f5291715177bc327
ARM: tegra: power: Don't change mode of uninitialized DFLL

If DFLL has not initialized, yet, or initialization failed:
- do not change DFLL mode from sysfs callback
- do not resume DFLL bypass mode after CPU rail gating/cluster switch

Change-Id: Ife68679b942e9af30cdc7dddbec1abf15f42dd66
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/299264
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/tegra11_clocks.c
arch/arm/mach-tegra/tegra12_clocks.c
arch/arm/mach-tegra/tegra14_clocks.c