Skip to contentSkip to conversation

media: qcom: iris: fix PAS ID passed to set_remote_state

PATCH In review Jorge Ramirez-Ortiz 3 participants 3 messages Oct 20 – Nov 16

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: qcom: iris: fix PAS ID passed to set_remote_state

A PAS ID of 0 does not identify the iris peripheral, so the remote-state update never reached it. Pass IRIS_PAS_ID, as every other PAS call in this file does.

Fixes bb8a95aa038e ("media: iris: implement power management")
---
 drivers/media/platform/qcom/iris/iris_firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/qcom/iris/iris_firmware.c +1 -1
index 21cdf1c39835..6ff5eefff391 100644
@@ -195,5 +195,5 @@ int iris_fw_unload(struct iris_core *core)
 
 int iris_set_hw_state(struct iris_core *core, bool resume)
 {
-	return qcom_pas_set_remote_state(resume, 0);
+	return qcom_pas_set_remote_state(resume, IRIS_PAS_ID);
 }
Signature · 1 line
2.54.0
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Jorge Ramirez-Ortiz
Quoted 25 lines · Jorge Ramirez-Ortiz

A PAS ID of 0 does not identify the iris peripheral, so the remote-state update never reached it. Pass IRIS_PAS_ID, as every other PAS call in this file does.

Fixes bb8a95aa038e ("media: iris: implement power management")
---
 drivers/media/platform/qcom/iris/iris_firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/qcom/iris/iris_firmware.c +1 -1
index 21cdf1c39835..6ff5eefff391 100644
@@ -195,5 +195,5 @@ int iris_fw_unload(struct iris_core *core)
 
 int iris_set_hw_state(struct iris_core *core, bool resume)
 {
-	return qcom_pas_set_remote_state(resume, 0);
+	return qcom_pas_set_remote_state(resume, IRIS_PAS_ID);
 }
Signature · 1 line
2.54.0

---
bod