]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PM: sleep: wakeirq: Update outdated documentation comments
authorWang Jiayue <akaieurus@gmail.com>
Fri, 6 Feb 2026 09:23:17 +0000 (17:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 Feb 2026 20:13:01 +0000 (21:13 +0100)
commitbd9635c4d6728a9f58f6545f1c8a0a5335aeaa30
tree0a53f1a1f16a45b267fe2dc63bfa45a75694e779
parent9b1b3dcd28c271fc8c4a87e81860f3a34b6d29b7
PM: sleep: wakeirq: Update outdated documentation comments

The comments claiming that dev_pm_*wake_irq*() helpers must be called
with dev->power.lock held and only from rpm_suspend/resume paths are not
accurate any mote, since pm_runtime_force_suspend/resume() call them
locklessly.

Update the comments to match the code.

Reported-by: Gui-Dong Han <hanguidong02@gmail.com>
Closes: https://lore.kernel.org/all/CAJZ5v0jN9fU9NdWqc-+F5hiSEP4JkR=_qcdGzzHtk1i5tvCDbQ@mail.gmail.com/
Fixes: c46a0d5ae4f9 ("PM: runtime: Extend support for wakeirq for force_suspend|resume")
Signed-off-by: Wang Jiayue <akaieurus@gmail.com>
[ rjw: Changelog edits ]
Link: https://patch.msgid.link/20260206092317.148885-1-akaieurus@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeirq.c