mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'regmap-4.17' into regmap-4.18 for the merge window
This commit is contained in:
commit
869619e627
1 changed files with 2 additions and 1 deletions
|
|
@ -206,7 +206,8 @@ static void regmap_mmio_free_context(void *context)
|
|||
|
||||
if (!IS_ERR(ctx->clk)) {
|
||||
clk_unprepare(ctx->clk);
|
||||
clk_put(ctx->clk);
|
||||
if (!ctx->attached_clk)
|
||||
clk_put(ctx->clk);
|
||||
}
|
||||
kfree(context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue