dw_dmac: fix a regression in dwc_prep_dma_memcpy
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 1 Oct 2012 10:06:25 +0000 (13:06 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 2 Oct 2012 07:48:00 +0000 (13:18 +0530)
Sometimes memory-to-memory test is failed, that's why we need to choose minimum
data portion between source and destination limits together.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

No differences found