Skip to content

Commit

Permalink
ASoC: fsi: remove unnecessary clock processing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Jul 29, 2010
1 parent a7e7cd5 commit bced8f5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sound/soc/sh/fsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit bced8f5

Please sign in to comment.