]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
dmaengine: idxd: fix bus_probe() and bus_remove() for dsa_bus
authorDave Jiang <dave.jiang@intel.com>
Thu, 15 Jul 2021 18:43:55 +0000 (11:43 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 21 Jul 2021 04:39:15 +0000 (10:09 +0530)
commitfcc2281b142bf14e3534d6b1150991194f8d1d44
tree1fdd394aa83d52deffa75a96334f1781e23599ce
parent1c264299431e9a105f3974ad49b6bccc3f03540f
dmaengine: idxd: fix bus_probe() and bus_remove() for dsa_bus

Current implementation have put all the code that should be in a driver
probe/remove in the bus probe/remove function. Add ->probe() and ->remove()
support for the dsa_drv and move all those code out of bus probe/remove.
The change does not split out the distinction between device sub-driver and
wq sub-driver. It only cleans up the bus calls. The split out will be
addressed in follow on patches.

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162637463586.744545.5806250155539938643.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/idxd.h
drivers/dma/idxd/sysfs.c