ASoC: dmaengine: support deferred probe for DMA channels
authorStephen Warren <swarren@nvidia.com>
Tue, 10 Dec 2013 18:11:02 +0000 (11:11 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 11 Dec 2013 11:15:05 +0000 (11:15 +0000)
commit5eda87b890f867b098e5566b5543642851e8b9c3
tree5edf24b4a89f7f9893701dedd96dea7c083402ea
parentd3ae8835301043ed84c8e78ecb06d5f0b0548f4a
ASoC: dmaengine: support deferred probe for DMA channels

Enhance dmaengine_pcm_request_chan_of() to support deferred probe for
DMA channels, by using the new dma_request_slave_channel_or_err() API.
This prevents snd_dmaengine_pcm_register() from succeeding without
acquiring DMA channels due to the relevant DMA controller not yet being
registered.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-generic-dmaengine-pcm.c