[PATCH 06/10] pinctrl: realtek: Fix bit shift when configuring RTD_HIGH_VIL
Linus Walleij
linusw at kernel.org
Thu Nov 5 01:24:24 PST 2026
On Tue, Nov 3, 2026 at 10:30 PM Lee Jones <lee at kernel.org> wrote:
> In rtd_pconf_parse_conf(), the RTD_HIGH_VIL case prepares mask as
> BIT(hvil_off) for regmap_update_bits(), but sets val = 1 without
> shifting it to hvil_off. Whenever hvil_off is non-zero,
> regmap_update_bits() masks val with BIT(hvil_off) and clears the high
> VIL bit instead of setting it.
>
> Set val to BIT(hvil_off) so that the target bit is set as intended.
>
> Fixes: dcc9334435b0 ("pinctrl: realtek: add support for slew rate, input voltage and high VIL")
> Closes: https://sashiko.dev/#/bug/linux-e7077311-3f30-4b77-844b-1447519d0c84
> Cc: stable at vger.kernel.org
> Signed-off-by: Lee Jones <lee at kernel.org>
This patch 6/10 applied for fixes!
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list