ASoC: fsi: fsi_set_master_clk() was called from fsi_hw_xxx() only
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 29 Oct 2012 07:37:22 +0000 (00:37 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Oct 2012 18:46:39 +0000 (18:46 +0000)
commitddeb2d701b76bb1fc299c0f9306c63109769bc33
tree5b8bbfb34174d3b25d08f764589fbe91624f5964
parent1ddd82868cc888e008ed520465c172a6cdddd689
ASoC: fsi: fsi_set_master_clk() was called from fsi_hw_xxx() only

Current FSI driver is using fsi_set_master_clk() if it needs system clock.
But this function was called from
fsi_hw_shutdown()/fsi_dai_trigger()/fsi_resume() without a sense of unity.
Because of this, sound playback after suspend failed sometimes.
To keep consistency, fsi_master_clk() was called from
fsi_hw_start/stop() only now.

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