linux-stable/drivers/pinctrl/meson
Qianggui Song 35c60be220 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: 6ea3e3bbef ("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>
2020-01-07 11:21:07 +01:00
..
Kconfig pinctrl: meson: add pinctrl driver support for Meson-A1 SoC 2019-11-19 15:55:26 +01:00
Makefile pinctrl: meson: add pinctrl driver support for Meson-A1 SoC 2019-11-19 15:55:26 +01:00
pinctrl-meson-a1.c pinctrl: meson: add pinctrl driver support for Meson-A1 SoC 2019-11-19 15:55:26 +01:00
pinctrl-meson-axg-pmx.c pinctrl: meson-axg: Introduce a pinctrl pinmux ops for Meson-AXG SoC 2017-11-30 14:28:16 +01:00
pinctrl-meson-axg-pmx.h pinctrl: meson-axg: Introduce a pinctrl pinmux ops for Meson-AXG SoC 2017-11-30 14:28:16 +01:00
pinctrl-meson-axg.c pinctrl: meson: add a new callback for SoCs fixup 2019-11-19 15:53:58 +01:00
pinctrl-meson-g12a.c pinctrl: meson: add a new callback for SoCs fixup 2019-11-19 15:53:58 +01:00
pinctrl-meson-gxbb.c pinctrl: meson: add a new callback for SoCs fixup 2019-11-19 15:53:58 +01:00
pinctrl-meson-gxl.c pinctrl: meson: add a new callback for SoCs fixup 2019-11-19 15:53:58 +01:00
pinctrl-meson.c pinctrl: meson: Fix wrong shift value when get drive-strength 2020-01-07 11:21:07 +01:00
pinctrl-meson.h pinctrl: meson: add pinctrl driver support for Meson-A1 SoC 2019-11-19 15:55:26 +01:00
pinctrl-meson8-pmx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 446 2019-06-05 17:37:18 +02:00
pinctrl-meson8-pmx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 446 2019-06-05 17:37:18 +02:00
pinctrl-meson8.c pinctrl: meson: add a new callback for SoCs fixup 2019-11-19 15:53:58 +01:00
pinctrl-meson8b.c pinctrl: meson: add a new callback for SoCs fixup 2019-11-19 15:53:58 +01:00