linux/drivers/dma/hsu
Andy Shevchenko a197f3c7d4 dmaengine: hsu: correct residue calculation of active descriptor
The commit f0579c8cea ("dmaengine: hsu: speed up residue calculation")
speeded up calculation of the queued descriptor but broke the initial residue
value for active descriptor.

In accordance with documentation the hardware descriptor is updated each time
DMA transfered some bytes. It means we have to calculate a sum of lengths of
non-submitted hardware descriptors and whatever current values in the hardware.
Do this straightforward.

Fixes: f0579c8cea ("dmaengine: hsu: speed up residue calculation")
Cc: stable@vger.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-04-04 09:41:43 -07:00
..
hsu.c dmaengine: hsu: correct residue calculation of active descriptor 2016-04-04 09:41:43 -07:00
hsu.h dmaengine: hsu: speed up residue calculation 2015-12-05 14:00:34 +05:30
Kconfig dmaengine: hsu: make the UART driver in control of selecting this driver 2015-10-17 21:22:08 -07:00
Makefile dmaengine: append hsu DMA driver 2015-03-07 03:23:02 +01:00
pci.c dmaengine: hsu: remove platform data 2015-10-17 21:22:08 -07:00