Skip to content

Commit 2adc254

Browse files
amsalbygregkh
authored andcommitted
clk: rockchip: fix clk_i2sout parent selection bits on rk3399
commit a64ad00 upstream. Register, shift and mask were wrong according to datasheet. Fixes: 1155100 ("clk: rockchip: add clock controller for the RK3399") Cc: stable@vger.kernel.org Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com> Signed-off-by: Anthony Brandon <anthony@amarulasolutions.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ae302d6 commit 2adc254

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/rockchip/clk-rk3399.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = {
630630
MUX(0, "clk_i2sout_src", mux_i2sch_p, CLK_SET_RATE_PARENT,
631631
RK3399_CLKSEL_CON(31), 0, 2, MFLAGS),
632632
COMPOSITE_NODIV(SCLK_I2S_8CH_OUT, "clk_i2sout", mux_i2sout_p, CLK_SET_RATE_PARENT,
633-
RK3399_CLKSEL_CON(30), 8, 2, MFLAGS,
633+
RK3399_CLKSEL_CON(31), 2, 1, MFLAGS,
634634
RK3399_CLKGATE_CON(8), 12, GFLAGS),
635635

636636
/* uart */

0 commit comments

Comments
 (0)