Re: [PATCH] clk: tegra: Fix Tegra210 IQC2 clock lookup
From: Thierry Reding
Date: Sat Nov 28 2026 - 03:31:32 EST
On Sat, 24 Oct 2026 13:01:13 +0200, Karl Mehltretter <kmehltretter@xxxxxxxxx> wrote:
> gate_clks[] uses tegra_clk_iqc1 for both iqc1 and iqc2. On Tegra210,
> gate_clk_init() overwrites the TEGRA210_CLK_IQC1 provider entry with
> iqc2 and leaves TEGRA210_CLK_IQC2 unpopulated, so looking up
> TEGRA210_CLK_IQC2 fails with -EINVAL.
>
> Use tegra_clk_iqc2 for the iqc2 gate.
>
> Fixes: 88da44c5edb9 ("clk: tegra: Add missing Tegra210 clocks")
We might want to remove this line. There's no driver for IQC, so this is
totally unused and fixing the lookup doesn't have any impact at all. The
patch doesn't fix a bug, so there's no need to get this backported all
the way to Linux v4.12.
That said, the fix is correct, so:
Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
--
Thierry Reding <treding@xxxxxxxxxx>