aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-amd.c
diff options
context:
space:
mode:
authorQianggui Song <qianggui.song@amlogic.com>2019-12-26 10:37:34 +0800
committerLinus Walleij <linus.walleij@linaro.org>2020-01-07 11:21:07 +0100
commit35c60be220572de7d6605c4318f640d133982040 (patch)
tree5bf09fabd24afb58cdf3b1afbf38ef45345cfcc2 /drivers/pinctrl/pinctrl-amd.c
parentpinctrl: lochnagar: select GPIOLIB (diff)
downloadlinux-dev-35c60be220572de7d6605c4318f640d133982040.tar.xz
linux-dev-35c60be220572de7d6605c4318f640d133982040.zip
pinctrl: meson: Fix wrong shift value when get drive-strength
In meson_pinconf_get_drive_strength, variable bit is calculated by meson_calc_reg_and_bit, this value is the offset from the first pin of a certain bank to current pin, while Meson SoCs use two bits for each pin to depict drive-strength. So a left shift by 1 should be done or node pinconf-pins shows wrong message. Fixes: 6ea3e3bbef37 ("pinctrl: meson: add support of drive-strength-microamp") Signed-off-by: Qianggui Song <qianggui.song@amlogic.com> Link: https://lore.kernel.org/r/20191226023734.9631-1-qianggui.song@amlogic.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-amd.c')
0 files changed, 0 insertions, 0 deletions