ASoC: fsi: remove unnecessary clock processing
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>
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index a1ce608..24c378c 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -803,10 +803,6 @@
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 @@
fsi_clk_ctrl(fsi, 1);
ret = 0;
}
- pm_runtime_get_sync(dai->dev);
return ret;