aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cppc_cpufreq.c
diff options
context:
space:
mode:
authorTobias Jakobi <[email protected]>2016-09-29 12:36:36 +0000
committerRafael J. Wysocki <[email protected]>2016-10-10 22:01:20 +0000
commitd0563a039c9d35305f4cb2405665130de596d86a (patch)
treef533835dc7c60f982ad13d70333879d011e0664c /drivers/cpufreq/cppc_cpufreq.c
parentPM / devfreq: Add proper locking around list_del() (diff)
downloadkernel-d0563a039c9d35305f4cb2405665130de596d86a.tar.gz
kernel-d0563a039c9d35305f4cb2405665130de596d86a.zip
PM / devfreq: Skip status update on uninitialized previous_freq
In case devfreq->previous_freq is still uninitialized in devfreq_update_status(), i.e. it has value '0', the lookups in that function fail, eventually leading to some error message: [ 3.041292] devfreq bus_dmc: Couldn't update frequency transition information. Just skip the statup update in this situation. Signed-off-by: Tobias Jakobi <[email protected]> Acked-by: MyungJoo Ham <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions