media: qcom: iris: fix PAS ID passed to set_remote_state
Subsystems (4)
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")
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
--- 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
@@ -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
Quoted 7 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")Signed-off-by Jorge Ramirez-Ortiz <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>
Konrad
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")Signed-off-by Jorge Ramirez-Ortiz <[email protected]>--- 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@@ -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
Reviewed-by Bryan O'Donoghue <[email protected]>
---
bod