diff options
Diffstat (limited to 'sound/soc/mxs/mxs-saif.c')
-rw-r--r-- | sound/soc/mxs/mxs-saif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index 76dc74d24fc2..ef1abb53af95 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c | |||
@@ -210,7 +210,7 @@ int mxs_saif_put_mclk(unsigned int saif_id) | |||
210 | return -EBUSY; | 210 | return -EBUSY; |
211 | } | 211 | } |
212 | 212 | ||
213 | clk_disable(saif->clk); | 213 | clk_disable_unprepare(saif->clk); |
214 | 214 | ||
215 | /* disable MCLK output */ | 215 | /* disable MCLK output */ |
216 | __raw_writel(BM_SAIF_CTRL_CLKGATE, | 216 | __raw_writel(BM_SAIF_CTRL_CLKGATE, |
@@ -264,7 +264,7 @@ int mxs_saif_get_mclk(unsigned int saif_id, unsigned int mclk, | |||
264 | if (ret) | 264 | if (ret) |
265 | return ret; | 265 | return ret; |
266 | 266 | ||
267 | ret = clk_enable(saif->clk); | 267 | ret = clk_prepare_enable(saif->clk); |
268 | if (ret) | 268 | if (ret) |
269 | return ret; | 269 | return ret; |
270 | 270 | ||