dmaengine: idxd: refactor wq driver enable/disable operations
authorDave Jiang <dave.jiang@intel.com>
Wed, 20 Apr 2022 16:43:36 +0000 (09:43 -0700)
committerVinod Koul <vkoul@kernel.org>
Fri, 22 Apr 2022 07:24:20 +0000 (12:54 +0530)
commit63c14ae6c161dec8ff3be49277edc75a769e054a
tree87346a41b75b09beab9a7c070d8112d29a030b62
parentb21fe492a3a9831c315eb456cf5480c9490eaeef
dmaengine: idxd: refactor wq driver enable/disable operations

Move the core driver operations from wq driver to the drv_enable_wq() and
drv_disable_wq() functions. The move should reduce the wq driver's
knowledge of the core driver operations and prevent code confusion for
future wq drivers.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/165047301643.3841827.11222723219862233060.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/cdev.c
drivers/dma/idxd/device.c
drivers/dma/idxd/dma.c
drivers/dma/idxd/idxd.h