On Mon Dec 15 13:05:28 2025 +0200, Sakari Ailus wrote:
> Streams will soon be allocated just for the duration of streaming
> operation. In this case, obtain the CSI-2 sub-device through av->csi2
> which is set up during driver probe.
> 
> Signed-off-by: Sakari Ailus <[email protected]>
> Reviewed-by: Antti Laakso <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 drivers/media/pci/intel/ipu6/ipu6-isys-video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys-video.c 
b/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
index 5c00c98869d9..66f1a28a444e 100644
--- a/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
+++ b/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
@@ -860,7 +860,7 @@ int ipu6_isys_video_set_streaming(struct ipu6_isys_video 
*av, int state)
        struct media_pad *r_pad;
        int ret = 0;
 
-       sd = &av->stream->asd->sd;
+       sd = &av->csi2->asd.sd;
        r_pad = media_pad_remote_pad_first(&av->pad);
 
        if (!state) {
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to