media: qcom: iris: fix runtime PM error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 0 repliesNew
- v42 patches 2 repliesSuperseded
- v32 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 0 replies | Superseded | |
| v1 | 1 patch | 1 reply | Superseded |
Changes in v5 from the cover letter
- Handle pm_runtime_put_sync() return value in iris_disable_power_domains().
- Add a blank line before return statement in rollback path.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: qcom: iris: fix runtime PM reference leaksdrivers/ | +6 | 0 replies | |
| 2/2 | media: qcom: iris: rollback OPP vote on PM resume failuredrivers/ | +10 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Dmitry Baryshkov |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/2] media: qcom: iris: fix runtime PM error handling
This series fixes two issues in the Iris power management path.
Patch 1 updates the runtime PM handling to use pm_runtime_resume_and_get() and ensures that runtime PM references remain balanced during power-down error handling.
Patch 2 rolls back the maximum OPP vote when pm_runtime_resume_and_get() fails during power-up, preventing the driver from leaving an unnecessary OPP vote active after a failed resume.
Changes in v5:
- Handle pm_runtime_put_sync() return value in iris_disable_power_domains().
- Add a blank line before return statement in rollback path.
Changes in v4:
- Added Dmitry Baryshkov's Reviewed-by tag to patch 1.
- Reworked rollback handling in patch 2 to use a standard goto-based error path.
- Roll back the OPP vote from a dedicated error label when pm_runtime_resume_and_get() fails.
Hungyu Lin (2):
media: qcom: iris: fix runtime PM reference leaks
media: qcom: iris: rollback OPP vote on PM resume failure
.../media/platform/qcom/iris/iris_resources.c | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1