James Zhu 20ebbfd22f drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate
Add cancel_delayed_work_sync before set power gating state
to avoid race condition issue when power gating.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2021-05-20 17:04:58 -04:00
..
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-23 10:32:14 +01:00
2020-08-06 14:27:31 -07:00
2021-04-13 23:15:09 +02:00
2021-04-28 10:01:40 -07:00
2021-04-08 12:42:14 +10:00
2021-03-19 10:40:54 +01:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-28 10:01:40 -07:00
2021-03-16 17:08:46 +10:00
2021-04-13 23:15:09 +02:00
2021-03-16 17:08:46 +10:00
2021-04-30 09:57:07 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-25 08:23:28 -03:00
2021-04-13 23:15:09 +02:00
2021-04-09 16:42:09 -04:00
2021-01-04 12:59:33 +01:00
2021-03-16 17:08:46 +10:00
2020-09-21 10:45:08 +02:00
2021-01-07 13:40:20 +01:00
2021-04-28 10:01:40 -07:00
2020-08-11 11:58:31 +10:00
2021-03-16 17:08:46 +10:00
2021-03-18 14:22:50 +01:00
2021-03-23 23:25:21 -04:00