mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
clk: sc2: Ignore init hifi_pll [1/1]
PD#SWPL-165772 Problem: hifi_pll has been initially configured in the bootloader and is being used by audio. If hifi_pll is reconfigured in the kernel, the sound will be broken. Solution: Add flag CLK_MESON_PLL_IGNORE_INIT for hifi_pll Verify: sc2_ah212 Change-Id: I9989d6c16e590207f6b03658705b088f8a13c8c5 Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
This commit is contained in:
@@ -887,7 +887,7 @@ static struct clk_regmap sc2_hifi_pll_dco = {
|
||||
.range = &sc2_hifi_pll_m,
|
||||
.init_regs = sc2_hifi_init_regs,
|
||||
.init_count = ARRAY_SIZE(sc2_hifi_init_regs),
|
||||
.flags = CLK_MESON_PLL_ROUND_CLOSEST,
|
||||
.flags = CLK_MESON_PLL_ROUND_CLOSEST | CLK_MESON_PLL_IGNORE_INIT,
|
||||
},
|
||||
.hw.init = &(struct clk_init_data){
|
||||
.name = "hifi_pll_dco",
|
||||
|
||||
Reference in New Issue
Block a user