diff options
| author | 2026-05-20 12:44:29 +0530 | |
|---|---|---|
| committer | 2026-06-09 20:17:12 +0200 | |
| commit | 10765ff932e668be7ae7835b5438b3587e16554a (patch) | |
| tree | 6de2b4336df42156519e31857cb7914de7dadcc0 /tools/lib/python/kdoc/python_version.py | |
| parent | Merge remote-tracking branch 'wsa/i2c/fix-registration' into i2c/i2c-host (diff) | |
i2c: qcom-geni: Use pm_runtime_force_{suspend,resume} helpers
The driver carries custom system suspend/resume handling that manually
tracks a suspended state and conditionally calls
geni_i2c_runtime_suspend()
from the noirq suspend path, then adjusts runtime PM state by hand. This
duplicates PM core behavior and adds unnecessary complexity.
Drop the manual state tracking and switch to pm_runtime_force_suspend()
and pm_runtime_force_resume() for system sleep. These helpers already
perform the required checks, call the runtime PM callbacks when needed,
and keep runtime PM state transitions consistent.
Reviewed-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260520-use_pm_runtime_apis-v1-1-6a5238fc6cb6@oss.qualcomm.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
