According to downstream dwc3-msm source this clock has FSM dependency on gcc_pcnoc_usb30_clk so enabling it would fail if latter isn't enabled. This patch add works around this issue by changing parent of gcc_usb30_master_clk to gcc_pcnoc_usb30_clk. This is acceptable because both clocks have same parent and are branches/gates. Signed-off-by: Barnabás Czémán <trabarni@xxxxxxxxx> --- drivers/clk/qcom/gcc-msm8953.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-msm8953.c b/drivers/clk/qcom/gcc-msm8953.c index 3e5a8cb14d4d..20639340e8a6 100644 --- a/drivers/clk/qcom/gcc-msm8953.c +++ b/drivers/clk/qcom/gcc-msm8953.c @@ -3645,7 +3645,7 @@ static struct clk_branch gcc_usb30_master_clk = { .hw.init = &(struct clk_init_data) { .name = "gcc_usb30_master_clk", .parent_hws = (const struct clk_hw*[]){ - &usb30_master_clk_src.clkr.hw, + &gcc_pcnoc_usb3_axi_clk.clkr.hw, }, .num_parents = 1, .ops = &clk_branch2_ops, -- 2.42.0