diff options
| author | Baek Kyu, Kim <pocj8ur4in@gmail.com> | 2026-10-31 17:18:04 +0900 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-11-05 09:53:49 +0100 |
| commit | ff00e5c03e7efe88f7a50a8673b14e8f0d4b45bb (patch) | |
| tree | ce6b50c59a018aad19e9d39d7d9428b9d207dd51 /scripts/Makefile.thinlto | |
| parent | 71f5d8128ac01d24cdbec5276472fde2f4f1d4c1 (diff) | |
| download | linux-next-ff00e5c03e7efe88f7a50a8673b14e8f0d4b45bb.tar.gz linux-next-ff00e5c03e7efe88f7a50a8673b14e8f0d4b45bb.zip | |
pinctrl: realtek: Write the encoded slew rate value
rtd_pconf_parse_conf() maps slew-rate arguments 1, 10, 20 and 30 to the
two-bit field values 0, 1, 2 and 3. However, it shifts the original
argument into the register value instead of using the computed encoding.
After masking, these arguments write 1, 2, 0 and 2 respectively. In
particular, the distinct 10 and 30 settings write the same field value.
Use set_val when constructing the register value so that both individual
pin and group configuration apply the existing conversion. Leave argument
validation, field offsets, masks and regmap error handling unchanged.
Fixes: dcc9334435b0 ("pinctrl: realtek: add support for slew rate, input voltage and high VIL")
Signed-off-by: Baek Kyu, Kim <pocj8ur4in@gmail.com>
Reviewed-by: Yu-Chun Lin <eleanor.lin@realtek.com>
Tested-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
