summaryrefslogtreecommitdiff
path: root/drivers/dma/dw-edma/dw-hdma-v0-core.c
diff options
context:
space:
mode:
authorCai Huoqing <cai.huoqing@linux.dev>2023-05-20 08:08:52 +0300
committerVinod Koul <vkoul@kernel.org>2023-05-24 09:50:45 +0300
commit353d5c241e83c4de04ca5ec0d7922bfb0809aa25 (patch)
treeda419925790f8d968e40ec75378d13a1120e9127 /drivers/dma/dw-edma/dw-hdma-v0-core.c
parente74c39573d35e9ac441090ff8183aa3dc2540649 (diff)
downloadlinux-353d5c241e83c4de04ca5ec0d7922bfb0809aa25.tar.xz
dmaengine: dw-edma: Add HDMA DebugFS support
Add HDMA DebugFS support to show registers content Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Tested-by: Serge Semin <fancer.lancer@gmail.com> Link: https://lore.kernel.org/r/20230520050854.73160-5-cai.huoqing@linux.dev Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dw-edma/dw-hdma-v0-core.c')
-rw-r--r--drivers/dma/dw-edma/dw-hdma-v0-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/dw-edma/dw-hdma-v0-core.c b/drivers/dma/dw-edma/dw-hdma-v0-core.c
index 22b7b0410deb..00b735a0202a 100644
--- a/drivers/dma/dw-edma/dw-hdma-v0-core.c
+++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c
@@ -11,6 +11,7 @@
#include "dw-edma-core.h"
#include "dw-hdma-v0-core.h"
#include "dw-hdma-v0-regs.h"
+#include "dw-hdma-v0-debugfs.h"
enum dw_hdma_control {
DW_HDMA_V0_CB = BIT(0),
@@ -276,6 +277,7 @@ static void dw_hdma_v0_core_ch_config(struct dw_edma_chan *chan)
/* HDMA debugfs callbacks */
static void dw_hdma_v0_core_debugfs_on(struct dw_edma *dw)
{
+ dw_hdma_v0_debugfs_on(dw);
}
static const struct dw_edma_core_ops dw_hdma_v0_core = {