Re: [PATCH v2] ARM: qcom: Disable i2c device on gsbi4 for ipq806x
From: Stephen Boyd
Date: Thu Apr 02 2020 - 21:34:32 EST
Quoting Ansuel Smith (2020-03-30 13:56:46)
> diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c
> index b0eee0903807..f7d7a2bc84c1 100644
> --- a/drivers/clk/qcom/gcc-ipq806x.c
> +++ b/drivers/clk/qcom/gcc-ipq806x.c
> @@ -991,6 +991,7 @@ static struct clk_branch gsbi4_h_clk = {
> .hw.init = &(struct clk_init_data){
> .name = "gsbi4_h_clk",
> .ops = &clk_branch_ops,
> + .flags = CLK_IGNORE_UNUSED,
Is this necessary? Shouldn't we skip clks that are protected during the
unused phase?
> },
> },
> };
> --
> 2.25.1
>