ARM: tegra: Optimize osc detection
authorBo Yan <byan@nvidia.com>
Fri, 28 Sep 2012 03:42:32 +0000 (20:42 -0700)
committerSimone Willett <swillett@nvidia.com>
Tue, 23 Oct 2012 01:40:22 +0000 (18:40 -0700)
commit74fdae13f61c9d5b9439118cfd41e094105bb0ad
tree3719f0b3c867726d3f3852e2ba8ac71097806810
parent46ad2a793c49fa7bbc4b338f855107153284e94c
ARM: tegra: Optimize osc detection

This needs to be done only once after boot. Actually, doing it
repeatedly on multiple CPUs without synchronization is bad.

Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/139557
(cherry picked from commit fee6c6af34763eb93641a52e7ba571819f79beb6)

Change-Id: Ie73a16dfc8496d5a3ff8091c5ef5768719475def
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146478
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
arch/arm/mach-tegra/clock.c