dmaengine: omap-dma: Take DMA request number from DT if it is available
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 9 Apr 2015 09:35:51 +0000 (12:35 +0300)
committerVinod Koul <vinod.koul@intel.com>
Sat, 9 May 2015 11:41:25 +0000 (17:11 +0530)
commitde506089e78bc7cea77c64a836f6cfc7fa592219
tree2ed28ee84c819a073a13db317ac133d5e5f78feb
parent341ce712868d90fd68cc4635b7c9963a026f9207
dmaengine: omap-dma: Take DMA request number from DT if it is available

Use the dma-requests property from DT to get the number of DMA requests.
In case of legacy boot or failure to find the property, use the default
127 as number of requests.

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