]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
dvfs: tegra: Fix clipping down frequency
authorAlex Frid <afrid@nvidia.com>
Fri, 19 Jun 2015 20:22:33 +0000 (13:22 -0700)
committerAleksandr Frid <afrid@nvidia.com>
Tue, 23 Jun 2015 01:24:11 +0000 (18:24 -0700)
commit8d263b21a9a3b6b46bb63fb7e39f00e82bff734a
tree9d18bd025c9c72da858b7fc4a2c6c0e305c27b97
parentbb89b2897cba7bcec5833705fca49626e0e329ec
dvfs: tegra: Fix clipping down frequency

- Made sure that frequency that is exactly equal to rates ladder step
  is clipped to the same step when rounded down.
- Don't output frequencies below lowest ladder step if they violates
  monotonicity requirement.

Bug 200085579

Change-Id: Ice7143d669ea9c139bd2540c42c598b4aef34cd9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/760331
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
drivers/platform/tegra/dvfs.c