dmaengine: ae4dma: Register debugfs using ptdma_debugfs_setup
Use the ptdma_debugfs_setup function to register debugfs for AE4DMA DMA engine. Reviewed-by: Raju Rangoju <Raju.Rangoju@amd.com> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Link: https://lore.kernel.org/r/20241025095931.726018-7-Basavaraj.Natikar@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
b10b278ea0
commit
a2d09455b2
@@ -150,6 +150,8 @@ int ae4_core_init(struct ae4_device *ae4)
|
||||
ret = pt_dmaengine_register(pt);
|
||||
if (ret)
|
||||
ae4_destroy_work(ae4);
|
||||
else
|
||||
ptdma_debugfs_setup(pt);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -140,3 +140,4 @@ void ptdma_debugfs_setup(struct pt_device *pt)
|
||||
&pt_debugfs_queue_fops);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ptdma_debugfs_setup);
|
||||
|
||||
Reference in New Issue
Block a user