mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
77867fff03
->dmacount tracks the sequence number of active descriptors. It is written to the DMACOUNT register to update the channel's view of pending descriptors in the chain. The register is 16-bits so ->dmacount should be unsigned and 16-bit as well. Also modify ->desccount to maintain alignment. This was never a problem in practice because we never compared dmacount values, but this is a bug waiting to happen. Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> |
||
---|---|---|
.. | ||
ioat | ||
ipu | ||
dmaengine.c | ||
dmatest.c | ||
dw_dmac.c | ||
dw_dmac_regs.h | ||
fsldma.c | ||
fsldma.h | ||
iop-adma.c | ||
iovlock.c | ||
Kconfig | ||
Makefile | ||
mv_xor.c | ||
mv_xor.h |