diff options
| author | Priyansh Jain <priyansh.jain@oss.qualcomm.com> | 2026-06-01 12:07:56 +0530 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-06-03 09:13:02 +0200 |
| commit | c665de5eeb85d1a2b87c1bb4bf4d3dbd8c1c4c37 (patch) | |
| tree | b0d23e20ad27d9ab56241b2b4fbbda585f59e972 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | 995b736ad46a80af84e58596c5e23ce94035bddf (diff) | |
thermal/drivers/qcom/tsens: Switch wake IRQ handling to PM callbacks
This change improves power management by using the standardized PM
framework for wake IRQ handling.
Move wake IRQ control to the PM suspend/resume path:
- store uplow/critical IRQ numbers in struct tsens_priv
- enable wake IRQs in tsens_suspend_common() when wakeup is allowed
- disable wake IRQs in tsens_resume_common()
- mark the device wakeup-capable during probe
This aligns TSENS wake behavior with suspend flow and avoids keeping
wake IRQs permanently enabled during runtime.
Signed-off-by: Priyansh Jain <priyansh.jain@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260601-tsens_interrupt_wake_control-v2-1-ce9570946abd@oss.qualcomm.com
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
