ASoC: dmaengine: use dma_request_slave_channel to request dma chan.
authorSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 21 May 2015 07:53:59 +0000 (15:53 +0800)
committerSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 21 May 2015 08:18:02 +0000 (16:18 +0800)
commita9ff4234b23e6b74d52c3e7911bd8f6756836e07
tree2c20caa5d00f9c56ef4a4997cdcbef73fa680ec1
parent71e8a27d623263591ae0c885804682d664cede79
ASoC: dmaengine: use dma_request_slave_channel to request dma chan.

if i2s module probe before dma module, dma chan resources are not ready.
use dma_request_slave_channel to reinitialize dma chan if not ready.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
sound/soc/soc-generic-dmaengine-pcm.c