Re: [PATCH] pinctrl: meson: Fix wrong shift value when get drive-strength
From: Linus Walleij <hidden>
Date: 2020-01-07 10:22:03
Also in:
linux-amlogic, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2020-01-07 10:22:03
Also in:
linux-amlogic, linux-gpio, lkml
On Thu, Dec 26, 2019 at 3:37 AM Qianggui Song [off-list ref] wrote:
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 <redacted>Patch applied. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel