]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
dvfs: tegra: Separate disabled-cdev/no-cdev
authorAlex Frid <afrid@nvidia.com>
Thu, 2 Apr 2015 05:16:23 +0000 (22:16 -0700)
committerBo Yan <byan@nvidia.com>
Sun, 5 Apr 2015 02:51:07 +0000 (19:51 -0700)
commit183ce2ddd456dab090fdce05f5eb8dbd370967e6
tree62d10a80a7b72094887f0a43f24eabcd85b29785
parent4c9488a6d21867814ff4ece223dcdf754200a1c6
dvfs: tegra: Separate disabled-cdev/no-cdev

Handle differently cases, when
a) DVFS cooling device is present in DT with disabled status
b) No DVFS cooling device is present in DT or compatibility test failed

In case (a) don't generate error, and invalidate cooling device entry
for the respective DVFS rail to avoid further warnings. In case (b)
continue to generate the same errors and warnings as before this commit.

Bug 200004664

Change-Id: Iea5097dda1f54ead18828124a1d3d522c25f9f3d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/727333
Reviewed-by: Bo Yan <byan@nvidia.com>
drivers/platform/tegra/dvfs.c