mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
Last_status is used to calculate dmc's power in thermal control. If last_status is neithor inited nor kept updated, the power model will get the wrong status and then the wrong power. And dmc gets wrong cooling state at last. Meanwhile this issue reports the warning "core: dev_pm_opp_get_voltage : Invalid parameters" Change-Id: Ic371796ad94fd6dab376fefbea91adff0068d26b Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>