linux/drivers/devfreq
Lukasz Luba 8d39fc085d PM / devfreq: fix initialization of current frequency in last status
Some systems need current frequency from last_status for calculation
but it is zeroed during initialization. When the device starts there is
no history, but we can assume that the last frequency was the
same as the initial frequency (which is also used in 'previous_freq').
The log shows the result of this misinterpreted value.
[    2.042847] ... Failed to get voltage for frequency 0: -34

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-06-22 13:53:00 +09:00
..
event PM / devfreq: exynos-nocp: Remove incorrect IS_ERR() check 2016-06-22 13:52:55 +09:00
devfreq-event.c PM / devfreq: event: Find the instance of devfreq-event device by using phandle 2016-05-03 11:21:51 +09:00
devfreq.c PM / devfreq: fix initialization of current frequency in last status 2016-06-22 13:53:00 +09:00
exynos-bus.c PM / devfreq: style/typo fixes 2016-05-03 11:22:10 +09:00
governor_passive.c PM / devfreq: style/typo fixes 2016-05-03 11:22:10 +09:00
governor_performance.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_powersave.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_simpleondemand.c PM / devfreq: cache the last call to get_dev_status() 2015-09-11 14:23:28 +09:00
governor_userspace.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor.h PM / devfreq: provide hooks for governors to be registered 2012-11-20 18:46:12 +09:00
Kconfig PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver 2016-05-03 11:20:09 +09:00
Makefile PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver 2016-05-03 11:20:09 +09:00
tegra-devfreq.c PM / devfreq: tegra: Set freq in rate callback 2016-02-23 14:27:42 +09:00