Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: mediatek: mt2701-img: add missing dummy clk

Add dummy clk for index 0 which was missed during the conversion to
mtk_clk_simple_probe().

Fixes: 973d1607d936 ("clk: mediatek: mt2701: use mtk_clk_simple_probe to simplify driver")
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/d677486a5c563fe5c47aa995841adc2aaa183b8a.1734300668.git.daniel@makrotopia.org
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Daniel Golle and committed by
Stephen Boyd
36664086 67aea188

+1
+1
drivers/clk/mediatek/clk-mt2701-img.c
··· 22 22 GATE_MTK(_id, _name, _parent, &img_cg_regs, _shift, &mtk_clk_gate_ops_setclr) 23 23 24 24 static const struct mtk_gate img_clks[] = { 25 + GATE_DUMMY(CLK_DUMMY, "img_dummy"), 25 26 GATE_IMG(CLK_IMG_SMI_COMM, "img_smi_comm", "mm_sel", 0), 26 27 GATE_IMG(CLK_IMG_RESZ, "img_resz", "mm_sel", 1), 27 28 GATE_IMG(CLK_IMG_JPGDEC_SMI, "img_jpgdec_smi", "mm_sel", 5),