summaryrefslogtreecommitdiff
path: root/include/linux/extcon
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-10-16 18:05:22 +0800
committerMark Brown <broonie@kernel.org>2026-10-23 18:40:07 +0100
commit8a6d73e316f95e398a1de1d1f58314b6d3e7f641 (patch)
tree275c45a850fac108190b4121b509b13777133098 /include/linux/extcon
parentba83dd4a47bb47da3d2791b2ad6cd816a851b5d0 (diff)
regulator: irq: freeze deferred hardware access during suspend
The regulator IRQ helper delays status checks and recovery callbacks on non-freezable workqueues. Those callbacks may access regulator hardware after the backing bus has been suspended. Use system_freezable_wq for normal-priority callbacks. Allocate a freezable high-priority workqueue when requested so the high_prio contract is preserved while hardware access is frozen across suspend. Signed-off-by: Jiale Yao <yaojiale02@163.com> Fixes: 7111c6d1b31b ("regulator: IRQ based event/error notification helpers") Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/20261016100522.2582557-3-yaojiale02@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/extcon')
0 files changed, 0 insertions, 0 deletions