|
@@ -47,7 +47,7 @@ static int asoc_simple_card_startup(struct snd_pcm_substream *substream)
|
|
|
struct asoc_simple_dai *dai_props =
|
|
|
simple_priv_to_props(priv, rtd->num);
|
|
|
|
|
|
- return clk_prepare_enable(dai_props->clk);
|
|
|
+ return asoc_simple_card_clk_enable(dai_props);
|
|
|
}
|
|
|
|
|
|
static void asoc_simple_card_shutdown(struct snd_pcm_substream *substream)
|
|
@@ -57,7 +57,7 @@ static void asoc_simple_card_shutdown(struct snd_pcm_substream *substream)
|
|
|
struct asoc_simple_dai *dai_props =
|
|
|
simple_priv_to_props(priv, rtd->num);
|
|
|
|
|
|
- clk_disable_unprepare(dai_props->clk);
|
|
|
+ asoc_simple_card_clk_disable(dai_props);
|
|
|
}
|
|
|
|
|
|
static const struct snd_soc_ops asoc_simple_card_ops = {
|