]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: imx-pcm: Request DMA channel early
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 22 Feb 2012 09:49:06 +0000 (10:49 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Feb 2012 13:21:49 +0000 (13:21 +0000)
commite23a2c0dc3126df41b274ff47f3d82dcdfcccedf
tree622912c7aeb3b2aa1a8264954a355c3ea833ae9f
parentb6dcfa33d6a0dd58e19e3564934fb5ee97ef20ae
ASoC: imx-pcm: Request DMA channel early

Request the DMA channel in the pcm open callback. This allows us to let open
fail if there is no dma channel available.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/imx/imx-pcm-dma-mx2.c