Skip to content
Commit e922bbf3 authored by Aman Kumar's avatar Aman Kumar Committed by Vinod Koul
Browse files

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: default avatarSrikanth Thokala <srikanth.thokala@intel.com>
Signed-off-by: default avatarSrikanth Thokala <srikanth.thokala@intel.com>
Signed-off-by: default avatarAman Kumar <aman.kumar@intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230203121702.15725-1-aman.kumar@intel.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8d1b7bd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment