diff options
Diffstat (limited to 'drivers/clk/clk.c')
-rw-r--r-- | drivers/clk/clk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index af4f2ffc4fc5..459a96f3043e 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1797,7 +1797,8 @@ static int clk_core_set_parent(struct clk_core *core, struct clk_core *parent) /* prevent racing with updates to the clock topology */ clk_prepare_lock(); - if (core->parent == parent) + if ((core->parent == parent) && + !(core->flags & CLK_SET_PARENT_NOCACHE)) goto out; /* verify ops for for multi-parent clks */ |