summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/imx-wm8960.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/fsl/imx-wm8960.c b/sound/soc/fsl/imx-wm8960.c
index 8dbf997d3d8c..0951e4740584 100644
--- a/sound/soc/fsl/imx-wm8960.c
+++ b/sound/soc/fsl/imx-wm8960.c
@@ -313,12 +313,6 @@ static int imx_hifi_startup(struct snd_pcm_substream *substream)
return ret;
}
- ret = clk_prepare_enable(data->codec_clk);
- if (ret) {
- dev_err(card->dev, "Failed to enable MCLK: %d\n", ret);
- return ret;
- }
-
return ret;
}
@@ -329,8 +323,6 @@ static void imx_hifi_shutdown(struct snd_pcm_substream *substream)
struct imx_wm8960_data *data = snd_soc_card_get_drvdata(card);
bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
- clk_disable_unprepare(data->codec_clk);
-
data->is_stream_opened[tx] = false;
}