ASoC: fsi: remove unnecessary clock processing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 28 Jul 2010 02:57:36 +0000 (11:57 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Jul 2010 17:28:27 +0000 (10:28 -0700)
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>
sound/soc/sh/fsi.c

index a1ce6089177c708acbc39197316e444b6f99270e..24c378c1e740b0d87821f89f2ae102a2dd67e119 100644 (file)
@@ -803,10 +803,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream,
        if (!set_rate)
                return -EIO;
 
-       /* clock stop */
-       pm_runtime_put_sync(dai->dev);
-       fsi_clk_ctrl(fsi, 0);
-
        ret = set_rate(fsi_is_port_a(fsi), params_rate(params));
        if (ret > 0) {
                u32 data = 0;
@@ -865,7 +861,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream,
                fsi_clk_ctrl(fsi, 1);
                ret = 0;
        }
-       pm_runtime_get_sync(dai->dev);
 
        return ret;