aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/fsi.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-07-27 22:57:36 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-07-29 13:28:27 -0400
commitbced8f5a36dde4ec5b255752433789066084bc85 (patch)
tree94bc6febef6c799f0671a313fca3386ec67b603d /sound/soc/sh/fsi.c
parenta7e7cd5bd7d1e0134032b8db5e64ceb9dac8b3ca (diff)
ASoC: fsi: remove unnecessary clock processing
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r--sound/soc/sh/fsi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index a1ce6089177c..24c378c1e740 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -803,10 +803,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream,
803 if (!set_rate) 803 if (!set_rate)
804 return -EIO; 804 return -EIO;
805 805
806 /* clock stop */
807 pm_runtime_put_sync(dai->dev);
808 fsi_clk_ctrl(fsi, 0);
809
810 ret = set_rate(fsi_is_port_a(fsi), params_rate(params)); 806 ret = set_rate(fsi_is_port_a(fsi), params_rate(params));
811 if (ret > 0) { 807 if (ret > 0) {
812 u32 data = 0; 808 u32 data = 0;
@@ -865,7 +861,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream,
865 fsi_clk_ctrl(fsi, 1); 861 fsi_clk_ctrl(fsi, 1);
866 ret = 0; 862 ret = 0;
867 } 863 }
868 pm_runtime_get_sync(dai->dev);
869 864
870 return ret; 865 return ret;
871 866