Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: sun6i: Fix impossible settings of burst and bus width
In the commit 1f9cd91 ("dmaengine: sun6i: Fix memcpy operation"), the signed values returned by convert_burst() and convert_buswidth() were stored in an unsigned value. Then, these values were considered as errors when non null. As a result, DMA transfers were rejected when the burst or buswidth had values different from 1, as 8 for the burst or 4 for the bus width. Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Jean-Francois Moine <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
- Loading branch information