diff options
author | Fabien Dessenne <[email protected]> | 2021-10-08 14:25:17 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-10-14 01:16:12 +0200 |
commit | c370bb474016ab9edfdabd7c08a88dd13a71ddbd (patch) | |
tree | 1c8a8d6688387b4577b178204b09d6a63439cd69 /tools/perf/scripts/python | |
parent | 6dba4bdfd7a30e77b848a45404b224588bf989e5 (diff) |
pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions