]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: dbx500: Round to closest available freq
authorMats Fagerstrom <mats.fagerstrom@stericsson.com>
Thu, 11 Apr 2013 21:23:57 +0000 (23:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 11 Apr 2013 21:23:57 +0000 (23:23 +0200)
commite3c7cd2eb48b0960a2c4b93e58f0453bd06a3c5c
tree7b13b479e7e38598afa47c292fc1d35a991c4f05
parent96b97e6e8e6359e9f1daa2c90aa7dfb19dd28c88
cpufreq: dbx500: Round to closest available freq

When reading the cpu speed, round it to the closest available
frequency from the table.

Signed-off-by: Mats Fagerstrom <mats.fagerstrom@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/dbx500-cpufreq.c