diff options
author | Aman Kumar <aman.kumar@intel.com> | 2023-02-03 13:17:02 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-02-16 14:15:48 +0100 |
commit | e922bbf37564a4c67efca9dd6133eaadbffb65f5 (patch) | |
tree | 13b74d35ca3063ba8c3332a9b0819bf78796eea3 /drivers/dma/ptdma | |
parent | dmaengine: imx-sdma: Set DMA channel to be private (diff) | |
download | linux-e922bbf37564a4c67efca9dd6133eaadbffb65f5.tar.xz linux-e922bbf37564a4c67efca9dd6133eaadbffb65f5.zip |
dmaengine: idma64: Update bytes_transferred field
Currently when 8250 data transfer is done, bytes_tranferred always returns
0 at /sys/devices/pci0000\:\:**.*/dma/dma*chan*/bytes_transferred.
In many cases it gives false impression that data is not being
trasferred via DMA.
So, updating the bytes_transferred field to count the bytes
whenever there is data transfer using idma64.
Co-developed-by: Srikanth Thokala <srikanth.thokala@intel.com>
Signed-off-by: Srikanth Thokala <srikanth.thokala@intel.com>
Signed-off-by: Aman Kumar <aman.kumar@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230203121702.15725-1-aman.kumar@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ptdma')
0 files changed, 0 insertions, 0 deletions