clk: qcom: gcc: Fix parent for gpll0_out_even
Subsystems (3)
PATCH 1/1 clk: qcom: gcc: Fix parent for gpll0_out_even
Documentation says that gpll0 is parent of gpll0_out_even, somehow driver coded that as bi_tcxo, so fix it
Fixes 2a1d7eb854bb ("clk: qcom: gcc: Add global clock controller driver for SM8150")
Reported-by Jonathan Marek <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- drivers/clk/qcom/gcc-sm8150.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/clk/qcom/gcc-sm8150.c +1 -2
@@ -76,8 +76,7 @@ static struct clk_alpha_pll_postdiv gpll0_out_even = { .clkr.hw.init = &(struct clk_init_data){ .name ="gpll0_out_even" , .parent_data = &(const struct clk_parent_data ){ - .fw_name ="bi_tcxo" , - .name ="bi_tcxo" , + .hw = &gpll0.clkr.hw, }, .num_parents =1 , .ops = &clk_trion_pll_postdiv_ops,
Signature · 1 line
2.25.4
Quoted 6 lines · Vinod Koul
Documentation says that gpll0 is parent of
gpll0_out_even, somehow driver coded that asbi_tcxo, so fix itFixes 2a1d7eb854bb ("clk: qcom: gcc: Add global clock controller driver for SM8150")Reported-by Jonathan Marek <[email protected]>Signed-off-by Vinod Koul <[email protected]>
Reviewed-by Bjorn Andersson <[email protected]>
Regards,
Bjorn
Quoted 21 lines
--- drivers/clk/qcom/gcc-sm8150.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/clk/qcom/gcc-sm8150.c +1
-2@@ -76,8 +76,7 @@ static struct clk_alpha_pll_postdiv gpll0_out_even = { .clkr.hw.init = &(struct clk_init_data){ .name ="gpll0_out_even" , .parent_data = &(const struct clk_parent_data ){ - .fw_name ="bi_tcxo" , - .name ="bi_tcxo" , + .hw = &gpll0.clkr.hw, }, .num_parents =1 , .ops = &clk_trion_pll_postdiv_ops,Signature · 1 line
2.25.4
Quoting Vinod Koul (2020-05-20 22:27:28)
Quoted 7 lines
Documentation says that gpll0 is parent of
gpll0_out_even, somehow driver coded that asbi_tcxo, so fix itFixes 2a1d7eb854bb ("clk: qcom: gcc: Add global clock controller driver for SM8150")Reported-by Jonathan Marek <[email protected]>Signed-off-by Vinod Koul <[email protected]>---
Applied to clk-fixes