diff options
| author | Lee Jones <lee@kernel.org> | 2026-11-03 21:29:11 +0000 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-11-08 15:25:49 +0100 |
| commit | 71a54ad8f05772c7413c8a0783f1da49ef4b4d89 (patch) | |
| tree | 40e312301bea4ef6e50736b52ed4b957b5eb73e4 /scripts/Makefile.thinlto | |
| parent | a3b0dee21ba6bd88fdc5b928d2a3aefe64fdea05 (diff) | |
| download | linux-next-71a54ad8f05772c7413c8a0783f1da49ef4b4d89.tar.gz linux-next-71a54ad8f05772c7413c8a0783f1da49ef4b4d89.zip | |
pinctrl: realtek: Fix bit shift when configuring RTD_HIGH_VIL
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@vger.kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Reviewed-by: Yu-Chun Lin <eleanor.lin@realtek.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
