dmaengine: edma: Fix paRAM slot allocation for entry channel 0
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 11 Jan 2016 08:38:01 +0000 (10:38 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Jan 2016 13:39:25 +0000 (19:09 +0530)
commitd20313b2c407a90fb60eca99d73c47a75bb42e08
tree961beb7501b0848da9c3fb2f073419ae94020418
parent8b648436eb45c1f561164b24aafd35fb2bee9cfc
dmaengine: edma: Fix paRAM slot allocation for entry channel 0

edma_alloc_slot was not checking the channel mapping support existence when
slot 0 has been requested (used as entry slot for channel/event 0).

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