Skip to content

Commit

Permalink
clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Ondrej Jirman authored and Maxime Ripard committed Oct 9, 2017
1 parent 7f3ed79 commit 7c4f63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,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);

Expand Down

0 comments on commit 7c4f63e

Please sign in to comment.