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:
Basavaraj Natikar
2024-10-25 15:29:31 +05:30
committed by Vinod Koul
parent b10b278ea0
commit a2d09455b2
2 changed files with 3 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -140,3 +140,4 @@ void ptdma_debugfs_setup(struct pt_device *pt)
&pt_debugfs_queue_fops);
}
}
EXPORT_SYMBOL_GPL(ptdma_debugfs_setup);