Commit 7066a6f7 authored by Mani Sadhasivam's avatar Mani Sadhasivam Committed by Dmitry Baryshkov
Browse files

dmaengine: dw-edma: Fix programming the source & dest addresses for ep



When eDMA is controlled by the Endpoint (EP), the current logic incorrectly
programs the source and destination addresses for read and write. Since the
Root complex and Endpoint uses the opposite channels for read/write, fix the
issue by finding out the read operation first and program the eDMA accordingly.

Cc: stable@vger.kernel.org
Fixes: bd96f1b2 ("dmaengine: dw-edma: support local dma device transfer semantics")
Fixes: e63d79d1 ("dmaengine: Add Synopsys eDMA IP core driver")
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent 8e3e5c5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment