d35f406429
When receiving data in cyclic mode from PDMA peripherals, where reload
count is set to infinite, any TR in the set can potentially be the last
one of the overall transfer. In such cases, the EOP flag needs to be set
in each TR and PDMA's Static TR "Z" parameter should be set, matching
the size of the TR.
This is required for the teardown to function properly and cleanup the
internal state memory. This only affects platforms using BCDMA and not
those using UDMA-P, which could set EOP flag in the teardown TR
automatically.
Similarly when transmitting data in cyclic mode to PDMA peripherals, the
EOP flag needs to be set to get the teardown completion signal
correctly.
Fixes:
|
||
---|---|---|
.. | ||
cppi41.c | ||
dma-crossbar.c | ||
edma.c | ||
k3-psil-am62.c | ||
k3-psil-am62a.c | ||
k3-psil-am62p.c | ||
k3-psil-am64.c | ||
k3-psil-am654.c | ||
k3-psil-j721e.c | ||
k3-psil-j721s2.c | ||
k3-psil-j784s4.c | ||
k3-psil-j7200.c | ||
k3-psil-priv.h | ||
k3-psil.c | ||
k3-udma-glue.c | ||
k3-udma-private.c | ||
k3-udma.c | ||
k3-udma.h | ||
Kconfig | ||
Makefile | ||
omap-dma.c |