]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: idxd: reset states after device disable or reset
authorDave Jiang <dave.jiang@intel.com>
Mon, 27 Jul 2020 16:37:11 +0000 (09:37 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Aug 2020 04:55:04 +0000 (10:25 +0530)
commit40c72972e098e9e045b367cb36d8e148def129b7
tree6644cef3823d7a975c8884e9fe56e076bfcf32dc
parentbb65f1b8fa80df08474400f1a3e70925901315ba
dmaengine: idxd: reset states after device disable or reset

The state for WQs should be reset to disabled when a device is reset or
disabled.

Fixes: c445cafdd3c2 ("dmaengine: idxd: cleanup workqueue config after disabling")
Reported-by: Mona Hossain <mona.hossain@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/159586777684.27150.17589406415773568534.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c
drivers/dma/idxd/irq.c