Re: [PATCH v2 4/5] clk: qcom: gcc-hawi: Add support for global clock controller on Maili

Taniya Das <[email protected]>
Newsgroups org.kernel.vger.linux-clk,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

On 7/17/2026 3:41 PM, Konrad Dybcio wrote:
> This is unnecessary/wrong, as desc->num_clks validates the index in
> qcom_cc_clk_hw_get().
> 
> Without this, we'd get an -EINVAL, with this we get a silent nullptr

Konrad, I'll update the comment to clarify the rationale behind this
requirement.

/* Maili has more clocks than Hawi. Ensure the array is appropriately
sized and assign the additional clocks in .probe() */

-- 
Thanks,
Taniya Das
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.