]> git.karo-electronics.de Git - mv-sheeva.git/commit
ASoC: imx-ssi: Set dma data early
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 22 Feb 2012 09:49:05 +0000 (10:49 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Feb 2012 13:21:49 +0000 (13:21 +0000)
commit91a38540f504cdde7cb62668f7a6d52e3bd0178b
treede286920fe5f4e5387164a5652bb1f704d553e4e
parentf7085641eeaeaab5216bab143287d2288940d9a2
ASoC: imx-ssi: Set dma data early

Move the call to snd_soc_dai_set_dma_data from the hw_params callback to the
startup callback. This allows us to use the dma data in the pcm driver's open
callback.

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-ssi.c