Skip to content

Commit 1fdaaa1

Browse files
ajitkupandeybebarino
authored andcommitted
clk: x86: Fix clk_gate_flags for RV_CLK_GATE
In newer SoC we have to clear bit for disabling 48MHz oscillator clock gate. Remove CLK_GATE_SET_TO_DISABLE flag for proper enable and disable of 48MHz clock. Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> Reviewed-by: Mario Limonciello <Mario.Limonciello@amd.com> Link: https://lore.kernel.org/r/20211212180527.1641362-6-AjitKumar.Pandey@amd.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent c33917b commit 1fdaaa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/x86/clk-fch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static int fch_clk_probe(struct platform_device *pdev)
8282

8383
hws[CLK_GATE_FIXED] = clk_hw_register_gate(NULL, "oscout1",
8484
"clk48MHz", 0, fch_data->base + MISCCLKCNTL1,
85-
OSCCLKENB, CLK_GATE_SET_TO_DISABLE, NULL);
85+
OSCCLKENB, 0, NULL);
8686

8787
devm_clk_hw_register_clkdev(&pdev->dev, hws[CLK_GATE_FIXED],
8888
fch_data->name, NULL);

0 commit comments

Comments
 (0)