未验证 提交 869619e6 编写于 作者: M Mark Brown

Merge branch 'regmap-4.17' into regmap-4.18 for the merge window

...@@ -206,7 +206,8 @@ static void regmap_mmio_free_context(void *context) ...@@ -206,7 +206,8 @@ static void regmap_mmio_free_context(void *context)
if (!IS_ERR(ctx->clk)) { if (!IS_ERR(ctx->clk)) {
clk_unprepare(ctx->clk); clk_unprepare(ctx->clk);
clk_put(ctx->clk); if (!ctx->attached_clk)
clk_put(ctx->clk);
} }
kfree(context); kfree(context);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册