clock: tegra21: Force safe rate on clock with no reset
authorAlex Frid <afrid@nvidia.com>
Sun, 22 Jun 2014 06:45:53 +0000 (23:45 -0700)
committerYu-Huan Hsu <yhsu@nvidia.com>
Sun, 10 Aug 2014 04:52:01 +0000 (21:52 -0700)
commit802b87c30fd32cc63f528a3842f1ea65c377970d
tree289382e337407061421d6acecae9d282674c81d6
parent60bfdba46d6a3e2e4c0b03a5421d495ceb15786f
clock: tegra21: Force safe rate on clock with no reset

As a general rule, safe rate is forced during initialization only for
clocks associated with peripherals that are under reset. If there is
no associated reset, this commit allowed to force safe rate when clock
is disabled (can do it, since Tegra21 supports changing dividers of
disabled clocks).

Bug 1528707

Change-Id: I709da693be928842ac84a73fd4efd41144fdb1c7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/426939
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/clock.h
drivers/platform/tegra/tegra21_clocks.c