mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset
@ 2017-10-05  2:33 megous
  2017-10-09  7:16 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: megous @ 2017-10-05  2:33 UTC (permalink / raw)
  To: dev
  Cc: Ondrej Jirman, Maxime Ripard, Chen-Yu Tsai, Michael Turquette,
	Stephen Boyd, moderated list:ARM/Allwinner sunXi SoC support,
	open list:COMMON CLK FRAMEWORK, open list

From: Ondrej Jirman <megous@megous.com>

Datasheet specified that parent MUX settings are at bits [10:8],
but current implementation specifies incorrect offset at [10:12].
Fix this.

Signed-off-by: Ondrej Jirman <megous@megous.com>
---
 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
index b0fbdaea76de..d7938ab57429 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
@@ -534,7 +534,7 @@ static SUNXI_CCU_M_WITH_MUX_TABLE_GATE(csi_mclk_clk, "csi-mclk",
 				       csi_mclk_parents, csi_mclk_table,
 				       0x134,
 				       0, 5,	/* M */
-				       10, 3,	/* mux */
+				       8, 3,	/* mux */
 				       BIT(15),	/* gate */
 				       0);
 
-- 
2.14.2

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

* Re: [PATCH] clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset
  2017-10-05  2:33 [PATCH] clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset megous
@ 2017-10-09  7:16 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2017-10-09  7:16 UTC (permalink / raw)
  To: megous
  Cc: dev, Chen-Yu Tsai, Michael Turquette, Stephen Boyd,
	moderated list:ARM/Allwinner sunXi SoC support,
	open list:COMMON CLK FRAMEWORK, open list

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

On Thu, Oct 05, 2017 at 02:33:14AM +0000, megous@megous.com wrote:
> From: Ondrej Jirman <megous@megous.com>
> 
> Datasheet specified that parent MUX settings are at bits [10:8],
> but current implementation specifies incorrect offset at [10:12].
> Fix this.
> 
> Signed-off-by: Ondrej Jirman <megous@megous.com>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

end of thread, other threads:[~2017-10-09  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05  2:33 [PATCH] clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset megous
2017-10-09  7:16 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®