summary refs log tree commit diff
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2022-04-05 14:53:39 -0700
committerVinod Koul <vkoul@kernel.org>2022-04-08 23:27:17 +0530
commit12e45e89556d7a532120f976081e9e7582addd2b (patch)
tree2c4a56819d587efb97ff3c29ddaddb88bab147fb /drivers/dma/imx-sdma.c
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-12e45e89556d7a532120f976081e9e7582addd2b.tar.gz
dmaengine: idxd: fix device cleanup on disable
There are certain parts of WQ that needs to be cleaned up even after WQ is
disabled during the device disable. Those are the unchangeable parts for a
WQ when the device is still enabled. Move the cleanup outside of WQ state
check. Remove idxd_wq_disable_cleanup() inside idxd_wq_device_reset_cleanup()
since only the unchangeable parts need to be cleared.

Fixes: 0f225705cf65 ("dmaengine: idxd: fix wq settings post wq disable")
Reported-by: Tony Zhu <tony.zhu@intel.com>
Tested-by: Tony Zhu <tony.zhu@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/164919561905.1455025.13542366389944678346.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
0 files changed, 0 insertions, 0 deletions