Linux-Clk Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] clk: uniphier: Fix update register for CPU-gear
@ 2019-02-08  2:25 Kunihiko Hayashi
  2019-02-08  2:31 ` Masahiro Yamada
  2019-02-21 21:50 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2019-02-08  2:25 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Masahiro Yamada
  Cc: linux-clk, linux-arm-kernel, linux-kernel, Masami Hiramatsu,
	Kunihiko Hayashi, linux-stable

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>
---
 drivers/clk/uniphier/clk-uniphier-cpugear.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/uniphier/clk-uniphier-cpugear.c b/drivers/clk/uniphier/clk-uniphier-cpugear.c
index ec11f55..5d2d42b 100644
--- a/drivers/clk/uniphier/clk-uniphier-cpugear.c
+++ b/drivers/clk/uniphier/clk-uniphier-cpugear.c
@@ -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)
-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: uniphier: Fix update register for CPU-gear
  2019-02-08  2:25 [PATCH] clk: uniphier: Fix update register for CPU-gear Kunihiko Hayashi
@ 2019-02-08  2:31 ` Masahiro Yamada
  2019-02-21 21:50 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2019-02-08  2:31 UTC (permalink / raw)
  To: Kunihiko Hayashi
  Cc: Michael Turquette, Stephen Boyd, linux-clk, linux-arm-kernel,
	Linux Kernel Mailing List, Masami Hiramatsu, linux-stable

On Fri, Feb 8, 2019 at 11:25 AM Kunihiko Hayashi
<hayashi.kunihiko@socionext.com> wrote:
>
> 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>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: uniphier: Fix update register for CPU-gear
  2019-02-08  2:25 [PATCH] clk: uniphier: Fix update register for CPU-gear Kunihiko Hayashi
  2019-02-08  2:31 ` Masahiro Yamada
@ 2019-02-21 21:50 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2019-02-21 21:50 UTC (permalink / raw)
  To: Kunihiko Hayashi, Masahiro Yamada, Michael Turquette
  Cc: linux-clk, linux-arm-kernel, linux-kernel, Masami Hiramatsu,
	Kunihiko Hayashi, linux-stable

Quoting Kunihiko Hayashi (2019-02-07 18:25:23)
> 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>
> ---

Applied to clk-next


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08  2:25 [PATCH] clk: uniphier: Fix update register for CPU-gear Kunihiko Hayashi
2019-02-08  2:31 ` Masahiro Yamada
2019-02-21 21:50 ` Stephen Boyd

Linux-Clk Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-clk/0 linux-clk/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-clk linux-clk/ https://lore.kernel.org/linux-clk \
		linux-clk@vger.kernel.org linux-clk@archiver.kernel.org
	public-inbox-index linux-clk


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-clk


AGPL code for this site: git clone https://public-inbox.org/ public-inbox