mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state
@ 2026-10-20 20:45 Jorge Ramirez-Ortiz
  2026-10-21  7:58 ` Konrad Dybcio
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jorge Ramirez-Ortiz @ 2026-10-20 20:45 UTC (permalink / raw)
  To: jorge.ramirez, vikash.garodia, dikshita.agarwal, abhinav.kumar,
	bod, mchehab, hverkuil, stefan.schmidt
  Cc: linux-media, linux-arm-msm, linux-kernel

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 <jorge.ramirez@oss.qualcomm.com>
---
 drivers/media/platform/qcom/iris/iris_firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/qcom/iris/iris_firmware.c b/drivers/media/platform/qcom/iris/iris_firmware.c
index 21cdf1c39835..6ff5eefff391 100644
--- a/drivers/media/platform/qcom/iris/iris_firmware.c
+++ b/drivers/media/platform/qcom/iris/iris_firmware.c
@@ -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);
 }
-- 
2.54.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state
  2026-10-20 20:45 [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state Jorge Ramirez-Ortiz
@ 2026-10-21  7:58 ` Konrad Dybcio
  2026-11-16  0:24 ` bod
  2026-11-26  3:39 ` Vishnu Reddy
  2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-10-21  7:58 UTC (permalink / raw)
  To: Jorge Ramirez-Ortiz, vikash.garodia, dikshita.agarwal,
	abhinav.kumar, bod, mchehab, hverkuil, stefan.schmidt
  Cc: linux-media, linux-arm-msm, linux-kernel

On 10/20/26 10:45 PM, Jorge Ramirez-Ortiz wrote:
> 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 <jorge.ramirez@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state
  2026-10-20 20:45 [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state Jorge Ramirez-Ortiz
  2026-10-21  7:58 ` Konrad Dybcio
@ 2026-11-16  0:24 ` bod
  2026-11-26  3:39 ` Vishnu Reddy
  2 siblings, 0 replies; 4+ messages in thread
From: bod @ 2026-11-16  0:24 UTC (permalink / raw)
  To: Jorge Ramirez-Ortiz
  Cc: vikash.garodia, dikshita.agarwal, abhinav.kumar, bod, mchehab,
	hverkuil, stefan.schmidt, linux-media, linux-arm-msm,
	linux-kernel

On 2026-10-20 22:45 +0200, Jorge Ramirez-Ortiz wrote:
> 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 <jorge.ramirez@oss.qualcomm.com>
> ---
>  drivers/media/platform/qcom/iris/iris_firmware.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/qcom/iris/iris_firmware.c b/drivers/media/platform/qcom/iris/iris_firmware.c
> index 21cdf1c39835..6ff5eefff391 100644
> --- a/drivers/media/platform/qcom/iris/iris_firmware.c
> +++ b/drivers/media/platform/qcom/iris/iris_firmware.c
> @@ -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);
>  }
> -- 
> 2.54.0
> 
> 

Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
---
bod


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state
  2026-10-20 20:45 [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state Jorge Ramirez-Ortiz
  2026-10-21  7:58 ` Konrad Dybcio
  2026-11-16  0:24 ` bod
@ 2026-11-26  3:39 ` Vishnu Reddy
  2 siblings, 0 replies; 4+ messages in thread
From: Vishnu Reddy @ 2026-11-26  3:39 UTC (permalink / raw)
  To: Jorge Ramirez-Ortiz, vikash.garodia, dikshita.agarwal,
	abhinav.kumar, bod, mchehab, hverkuil, stefan.schmidt
  Cc: linux-media, linux-arm-msm, linux-kernel


On 10/21/2026 2:15 AM, Jorge Ramirez-Ortiz wrote:
> 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 <jorge.ramirez@oss.qualcomm.com>
> ---
>  drivers/media/platform/qcom/iris/iris_firmware.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/qcom/iris/iris_firmware.c b/drivers/media/platform/qcom/iris/iris_firmware.c
> index 21cdf1c39835..6ff5eefff391 100644
> --- a/drivers/media/platform/qcom/iris/iris_firmware.c
> +++ b/drivers/media/platform/qcom/iris/iris_firmware.c
> @@ -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);
>  }

Reviewed-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-26  3:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 20:45 [PATCH] media: qcom: iris: fix PAS ID passed to set_remote_state Jorge Ramirez-Ortiz
2026-10-21  7:58 ` Konrad Dybcio
2026-11-16  0:24 ` bod
2026-11-26  3:39 ` Vishnu Reddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®