Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 14 Oct 2021 01:16:42 +0200 | Subject | Re: [PATCH] pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() |
| |
On Fri, Oct 8, 2021 at 2:25 PM Fabien Dessenne <fabien.dessenne@foss.st.com> wrote:
> When resuming from low power, the driver attempts to restore the > configuration of some pins. This is done by a call to: > stm32_pinctrl_restore_gpio_regs(struct stm32_pinctrl *pctl, u32 pin) > where 'pin' must be a valid pin value (i.e. matching some 'groups->pin'). > Fix the current implementation which uses some wrong 'pin' value. > > Fixes: e2f3cf18c3e2 ("pinctrl: stm32: add suspend/resume management") > Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Patch applied for fixes.
Yours, Linus Walleij
| |