Skip to content

Commit

Permalink
clk: mediatek: mt2701-img: add missing dummy clk
Browse files Browse the repository at this point in the history
Add dummy clk for index 0 which was missed during the conversion to
mtk_clk_simple_probe().

Fixes: 973d160 ("clk: mediatek: mt2701: use mtk_clk_simple_probe to simplify driver")
Cc: [email protected]
Signed-off-by: Daniel Golle <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  • Loading branch information
dangowrt authored and frank-w committed Dec 20, 2024
1 parent a04dbd4 commit 020c228
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt2701-img.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ static const struct mtk_gate_regs img_cg_regs = {
GATE_MTK(_id, _name, _parent, &img_cg_regs, _shift, &mtk_clk_gate_ops_setclr)

static const struct mtk_gate img_clks[] = {
GATE_DUMMY(CLK_DUMMY, "img_dummy"),
GATE_IMG(CLK_IMG_SMI_COMM, "img_smi_comm", "mm_sel", 0),
GATE_IMG(CLK_IMG_RESZ, "img_resz", "mm_sel", 1),
GATE_IMG(CLK_IMG_JPGDEC_SMI, "img_jpgdec_smi", "mm_sel", 5),
Expand Down

0 comments on commit 020c228

Please sign in to comment.