Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
commit c370bb4 upstream. 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: e2f3cf1 ("pinctrl: stm32: add suspend/resume management") Signed-off-by: Fabien Dessenne <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information