ARM: tegra: dvfs: enable regulator before using it
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Jul 2012 09:51:09 +0000 (14:51 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 31 Jul 2012 04:10:53 +0000 (21:10 -0700)
commit9913737d7ce69f3bd68e37e0ad22a9c2c5c50979
tree2684956b83d42410b6042c391befbd6bfb1485c3
parent9c74bdcc6e4e0ac478f4766461ed4ed87f8ba07d
ARM: tegra: dvfs: enable regulator before using it

The dvfs system require the regulator for regulating
the voltage. The regulator should be enable before
using it to make sure the reference count enabling rail
of that rail should be properly counted.

Change-Id: Ib8b673ecb7939ac80f46bdf90ffec27b8f62df6b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/118598
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/dvfs.c