diff options
author | Thomas Richard <thomas.richard@bootlin.com> | 2024-03-04 16:35:45 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-03-28 22:05:31 +0100 |
commit | 85dfe458376c01282261bb3555f623f2afb1b203 (patch) | |
tree | 2969a690b1959e82379f696e32b8c4f5bf7e9a85 /scripts/gdb/linux/proc.py | |
parent | b5658c7ab942cc9c49a164dd8e027096b3e3c0f4 (diff) |
pinctrl: pinctrl-single: move suspend()/resume() callbacks to noirq
The goal is to extend the active period of pinctrl.
Some devices may need active pinctrl after suspend() and/or before
resume().
So move suspend()/resume() to suspend_noirq()/resume_noirq() in order to
have active pinctrl until suspend_noirq() (included), and from
resume_noirq() (included).
The deprecated API has been removed to use the new one (dev_pm_ops struct).
No need to check the pointer returned by dev_get_drvdata(), as
platform_set_drvdata() is called during the probe.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Message-ID: <20240102-j7200-pcie-s2r-v4-2-6f1f53390c85@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions