Commit bced8f5a authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: fsi: remove unnecessary clock processing

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent a7e7cd5b
...@@ -803,10 +803,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream, ...@@ -803,10 +803,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream,
if (!set_rate) if (!set_rate)
return -EIO; 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)); ret = set_rate(fsi_is_port_a(fsi), params_rate(params));
if (ret > 0) { if (ret > 0) {
u32 data = 0; u32 data = 0;
...@@ -865,7 +861,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream, ...@@ -865,7 +861,6 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream,
fsi_clk_ctrl(fsi, 1); fsi_clk_ctrl(fsi, 1);
ret = 0; ret = 0;
} }
pm_runtime_get_sync(dai->dev);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment