Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ASoC: fsi: remove unnecessary clock processing

parent a7e7cd5b
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;