Skip to content

Commit 4a0929b

Browse files
committed
Merge tag 'media/v6.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media fixes from Mauro Carvalho Chehab: "Some fixes related to the IPU6 driver" * tag 'media/v6.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: media: ivsc: Depend on IPU_BRIDGE or not IPU_BRIDGE media: intel/ipu6: Fix a null pointer dereference in ipu6_isys_query_stream_by_source media: ipu6: Use the ISYS auxdev device as the V4L2 device's device
2 parents e9d22f7 + fd40443 commit 4a0929b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

drivers/media/pci/intel/ipu6/ipu6-isys-video.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ ipu6_isys_query_stream_by_source(struct ipu6_isys *isys, int source, u8 vc)
943943
return NULL;
944944

945945
if (source < 0) {
946-
dev_err(&stream->isys->adev->auxdev.dev,
946+
dev_err(&isys->adev->auxdev.dev,
947947
"query stream with invalid port number\n");
948948
return NULL;
949949
}

drivers/media/pci/intel/ipu6/ipu6-isys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ static int isys_register_devices(struct ipu6_isys *isys)
799799
isys->v4l2_dev.mdev = &isys->media_dev;
800800
isys->v4l2_dev.ctrl_handler = NULL;
801801

802-
ret = v4l2_device_register(&pdev->dev, &isys->v4l2_dev);
802+
ret = v4l2_device_register(dev, &isys->v4l2_dev);
803803
if (ret < 0)
804804
goto out_media_device_unregister;
805805

drivers/media/pci/intel/ivsc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
config INTEL_VSC
55
tristate "Intel Visual Sensing Controller"
66
depends on INTEL_MEI && ACPI && VIDEO_DEV
7+
depends on IPU_BRIDGE || !IPU_BRIDGE
78
select MEDIA_CONTROLLER
89
select VIDEO_V4L2_SUBDEV_API
910
select V4L2_FWNODE

0 commit comments

Comments
 (0)