From: Viresh Kumar Date: Thu, 24 Mar 2011 06:02:15 +0000 (+0530) Subject: dmaengine/dw_dmac fix: dwc_scan_descriptors must compare first desc address also... X-Git-Tag: v3.0-rc1~27^2~4^2~24^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84adccfb8cd2a6b8237da6752668ba25cd90c20b;p=pandora-kernel.git dmaengine/dw_dmac fix: dwc_scan_descriptors must compare first desc address also with llp dwc_scan_descriptors scans all descriptors from active_list in case transfer is not completed. It compares first_desc->lli.llp, and then all childrens of its tx_list. But it doesn't compare its own address, i.e. first_desc->txd.phys, as this is what we have initially programmed into the controller register. So this causes dma to stop and finish a transfer, which was never started. And thus fail. Signed-off-by: Viresh Kumar Signed-off-by: Vinod Koul --- Reading git-diff-tree failed