dmaengine: qcom_hidma: add debugfs hooks
authorSinan Kaya <okaya@codeaurora.org>
Sun, 1 May 2016 04:25:27 +0000 (00:25 -0400)
committerVinod Koul <vinod.koul@intel.com>
Sat, 14 May 2016 06:24:45 +0000 (11:54 +0530)
commit570d0176296f0d17c4b5ab206ad4a4bc027b863b
tree1c8d62592e8c332a5de3247d3dfcb65df8a83ff9
parentd1615ca2e085222025118793b7b4af2cf4867b6e
dmaengine: qcom_hidma: add debugfs hooks

Add debugfs hooks for debugging the execution behavior of the DMA
channel. The debugfs hooks get initialized by the probe function and
uninitialized by the remove function.

A stats file is created in debugfs. The stats file will show the
information about each HIDMA channel as well as each asynchronous job
queued and completed at a given time.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom/Makefile
drivers/dma/qcom/hidma.c
drivers/dma/qcom/hidma.h
drivers/dma/qcom/hidma_dbg.c [new file with mode: 0644]