Skip to content

Commit 8abc733

Browse files
buluessrkhuangtao
authored andcommitted
clk: rockchip: rk3328: modify the wrong clk definition for encoder
Change-Id: I56ef3a201fc57d8ae368a5d1448e9e85e9143703 Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
1 parent d8df99a commit 8abc733

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/clk/rockchip/clk-rk3328.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -551,15 +551,15 @@ static struct rockchip_clk_branch rk3328_clk_branches[] __initdata = {
551551
GATE(0, "hclk_rkvenc_niu", "hclk_rkvenc", CLK_IGNORE_UNUSED,
552552
RK3328_CLKGATE_CON(25), 1, GFLAGS),
553553
GATE(ACLK_H265, "aclk_h265", "aclk_rkvenc", 0,
554-
RK3328_CLKGATE_CON(25), 0, GFLAGS),
554+
RK3328_CLKGATE_CON(25), 2, GFLAGS),
555555
GATE(PCLK_H265, "pclk_h265", "hclk_rkvenc", 0,
556-
RK3328_CLKGATE_CON(25), 1, GFLAGS),
556+
RK3328_CLKGATE_CON(25), 3, GFLAGS),
557557
GATE(ACLK_H264, "aclk_h264", "aclk_rkvenc", 0,
558-
RK3328_CLKGATE_CON(25), 0, GFLAGS),
558+
RK3328_CLKGATE_CON(25), 4, GFLAGS),
559559
GATE(HCLK_H264, "hclk_h264", "hclk_rkvenc", 0,
560-
RK3328_CLKGATE_CON(25), 1, GFLAGS),
560+
RK3328_CLKGATE_CON(25), 5, GFLAGS),
561561
GATE(ACLK_AXISRAM, "aclk_axisram", "aclk_rkvenc", CLK_IGNORE_UNUSED,
562-
RK3328_CLKGATE_CON(25), 0, GFLAGS),
562+
RK3328_CLKGATE_CON(25), 6, GFLAGS),
563563

564564
COMPOSITE(SCLK_VENC_CORE, "sclk_venc_core", mux_4plls_p, 0,
565565
RK3328_CLKSEL_CON(51), 14, 2, MFLAGS, 8, 5, DFLAGS,

0 commit comments

Comments
 (0)