From: Wei Yongjun yongjun_wei@trendmicro.com.cn
clk_prepare_enable() is used so clk_disable_unprepare() should be used instead of clk_disable() in the error handling path.
Signed-off-by: Wei Yongjun yongjun_wei@trendmicro.com.cn --- sound/soc/tegra/tegra30_ahub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index 3115433..63f65d9 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c @@ -84,7 +84,7 @@ static int tegra30_ahub_runtime_resume(struct device *dev) ret = clk_prepare_enable(ahub->clk_apbif); if (ret) { dev_err(dev, "clk_enable apbif failed: %d\n", ret); - clk_disable(ahub->clk_d_audio); + clk_disable_unprepare(ahub->clk_d_audio); return ret; }