PM / devfreq: Use more accurate returned new_freq as resume_freq
stable inclusion from stable-5.10.37 commit 0681c62d1ea2eba43aa8efb03708f7c3334fd863 bugzilla: 51868 CVE: NA -------------------------------- [ Upstream commit 62453f1b ] Use the more accurate returned new_freq as resume_freq. It's the same as how devfreq->previous_freq was updated. Fixes: 83f8ca45 ("PM / devfreq: add support for suspend/resume of a devfreq device") Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录