drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate
stable inclusion from stable-5.10.43 commit c12946548001bf1591426ebfec56b5d859de6262 bugzilla: 109284 CVE: NA -------------------------------- [ Upstream commit 23f10a57 ] Add cancel_delayed_work_sync before set power gating state to avoid race condition issue when power gating. Signed-off-by: NJames Zhu <James.Zhu@amd.com> Reviewed-by: NLeo Liu <leo.liu@amd.com> Acked-by: NChristian König <christian.koenig@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录