From: Kuninori Morimoto Date: Wed, 28 Jul 2010 02:57:36 +0000 (+0900) Subject: ASoC: fsi: remove unnecessary clock processing X-Git-Tag: v4.13~18144^2~1^2~17 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bced8f5a36dde4ec5b255752433789066084bc85;p=mirror_ubuntu-bionic-kernel.git ASoC: fsi: remove unnecessary clock processing Signed-off-by: Kuninori Morimoto Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- 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, 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;