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

Linus Walleij linusw at kernel.org
Thu Oct 1 01:34:50 PDT 2026


On Sat, Sep 26, 2026 at 12:04 PM Chuanhong Guo <gch981213 at gmail.com> 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 at gmail.com>

Patch applied as nonurgent fix.

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list