Re: [PATCH] pinctrl: mediatek: mt7629: fix the 2.4 GHz Wi-Fi pin mode array

From: Linus Walleij

Date: Thu Oct 01 2026 - 04:37:21 EST


On Sat, Sep 26, 2026 at 12:04 PM Chuanhong Guo <gch981213@xxxxxxxxx> wrote:

> The wf0_2g group contains nine pins but only eight mux values.
> mtk_pinmux_set_mux() indexes the mode array once for each pin, reading
> past its end when configuring pin 78 (WF0_2G_HB6). This can select an
> unrelated mux value or fail with -EINVAL, preventing the Wi-Fi device
> from probing.
>
> Add the missing mode 1 entry for WF0_2G_HB6.
>
> Fixes: b44677375fee ("pinctrl: mediatek: add pinctrl support for MT7629 SoC")
> Signed-off-by: Chuanhong Guo <gch981213@xxxxxxxxx>

Patch applied as nonurgent fix.

Yours,
Linus Walleij