Skip to content
Commit c44da03d authored by Stephen Barber's avatar Stephen Barber Committed by Vinod Koul
Browse files

dmaengine: pl330: Handle xferred count if DMAMOV hasn't finished



After executing DMAGO it's possible that a request can come in for the
current xferred count, but if that happens too soon then DMAMOV SAR/DAR
may not have yet completed. If that happens, we should explicitly return 0
since nothing has been transferred yet.

Signed-off-by: default avatarStephen Barber <smbarber@chromium.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 9a1a34f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment