aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorSascha Hauer <[email protected]>2022-06-17 13:50:42 +0200
committerVinod Koul <[email protected]>2022-07-01 22:07:59 +0530
commit09f7b80fac3e588b282ad26aabd7336d7d293efd (patch)
tree777979a4e72fa66350382748f76c57c148fb2ae6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent49db68d45bdcad06e28a420d5d911e4178389666 (diff)
dmaengine: imx-sdma: only restart cyclic channel when enabled
An interrupt for a channel might be pending even after struct dma_device::device_terminate_all has been called. In that case the recently introduced warning message "restart cyclic channel..." triggers and the channel will be restarted. This is not desired as the channel has just been stopped. Only restart the channel when we still have a descriptor set for it (which will be set to NULL in sdma_terminate_all()). Fixes: 5b215c28b9235 ("dmaengine: imx-sdma: restart cyclic channel if needed") Cc: [email protected] Signed-off-by: Sascha Hauer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions