diff options
author | Shuai Xue <xueshuai@linux.alibaba.com> | 2025-04-04 20:02:17 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 14:40:40 +0100 |
commit | a409e919ca321cc0e28f8abf96fde299f0072a81 (patch) | |
tree | 4772ff9f77fc32221073a50ac9bb4ea23d61bbe4 /scripts/generate_rust_analyzer.py | |
parent | d5449ff1b04dfe9ed8e455769aa01e4c2ccf6805 (diff) |
dmaengine: idxd: Refactor remove call with idxd_cleanup() helper
The idxd_cleanup() helper cleans up perfmon, interrupts, internals and
so on. Refactor remove call with the idxd_cleanup() helper to avoid code
duplication. Note, this also fixes the missing put_device() for idxd
groups, enginces and wqs.
Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Cc: stable@vger.kernel.org
Suggested-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20250404120217.48772-10-xueshuai@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions