ASoC: sh: fsi: call fsi_hw_startup/shutdown from fsi_dai_trigger()
commitf33238e96f619d9888713c07dcd92e4518879282
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 18 May 2012 00:35:34 +0000 (17 17:35 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 19 May 2012 18:41:09 +0000 (19 19:41 +0100)
tree3367085471db4d5d4f2193e3f5c3af0f446b67d2
parent9c59dd342e4dd3c0bab5a9cad1aca7ed9501cbf8
ASoC: sh: fsi: call fsi_hw_startup/shutdown from fsi_dai_trigger()

fsi_hw_startup/shutdown() needs the setup of bus width,
but it is impossible to get parameter of snd_pcm_runtime at this timing.
So, these functions are changed so that be called from fsi_dai_trigger().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c