diff options
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 21779a6a781a..a80c883bb8be 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -1095,9 +1095,9 @@ int dapm_clock_event(struct snd_soc_dapm_widget *w, | |||
1095 | 1095 | ||
1096 | #ifdef CONFIG_HAVE_CLK | 1096 | #ifdef CONFIG_HAVE_CLK |
1097 | if (SND_SOC_DAPM_EVENT_ON(event)) { | 1097 | if (SND_SOC_DAPM_EVENT_ON(event)) { |
1098 | return clk_enable(w->clk); | 1098 | return clk_prepare_enable(w->clk); |
1099 | } else { | 1099 | } else { |
1100 | clk_disable(w->clk); | 1100 | clk_disable_unprepare(w->clk); |
1101 | return 0; | 1101 | return 0; |
1102 | } | 1102 | } |
1103 | #endif | 1103 | #endif |