dmaengine: omap-dma: Remove mapping between virtual channels and requests
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 9 Apr 2015 09:35:52 +0000 (12:35 +0300)
committerVinod Koul <vinod.koul@intel.com>
Sat, 9 May 2015 11:41:25 +0000 (17:11 +0530)
commiteea531ea4147f60708c7ee9e53b5735ec387adb6
tree9264c3a5b2ac00b07baee83600734c2dcd62af23
parentde506089e78bc7cea77c64a836f6cfc7fa592219
dmaengine: omap-dma: Remove mapping between virtual channels and requests

Do not direct map the virtual channels to sDMA request number. When the
sDMA is behind of a crossbar this direct mapping can cause situations when
certain channel can not be requested since the crossbar request number
will no longer match with the sDMA request line.
The direct mapping for virtual channels with HW request lines will make it
harder to implement MEM_TO_MEM mode for the driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c