ASoC: atmel-pcm-dma: move prepare for dma to dai prepare
authorBo Shen <voice.shen@atmel.com>
Wed, 3 Jul 2013 08:37:58 +0000 (16:37 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:07:56 +0000 (11:07 +0100)
commitcede8d7aaa60bd7c03b9ec5eb43b09714710b8ba
treef65ecb09ebbe7150db67eecdd48719493de8ec67
parentf1b0dd8b9377590b387fd21ba67081ed0e7111e3
ASoC: atmel-pcm-dma: move prepare for dma to dai prepare

as prepare callback for dma is acctually access ssc register
which better done in dai driver, so move it to dai prepare
callback function

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/atmel/atmel-pcm-dma.c
sound/soc/atmel/atmel_ssc_dai.c