mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
clk: uniphier: Fix update register for CPU-gear
Need to set the update bit in UNIPHIER_CLK_CPUGEAR_UPD to update the CPU-gear value. Fixes: d08f1f0d596c ("clk: uniphier: add CPU-gear change (cpufreq) support") Cc: linux-stable@vger.kernel.org Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
bfeffd1552
commit
521282237b
@ -47,7 +47,7 @@ static int uniphier_clk_cpugear_set_parent(struct clk_hw *hw, u8 index)
|
||||
return ret;
|
||||
|
||||
ret = regmap_write_bits(gear->regmap,
|
||||
gear->regbase + UNIPHIER_CLK_CPUGEAR_SET,
|
||||
gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD,
|
||||
UNIPHIER_CLK_CPUGEAR_UPD_BIT,
|
||||
UNIPHIER_CLK_CPUGEAR_UPD_BIT);
|
||||
if (ret)
|
||||
|
Loading…
x
Reference in New Issue
Block a user