Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: atomisp: Make MC link from ISP to /dev/video# output node immutable

The link from the ISP's source pad to the /dev/video# output v4l2-dev
is always enabled and immutable, mark it as such.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Hans de Goede and committed by
Mauro Carvalho Chehab
185883b2 c7922162

+2 -1
+2 -1
drivers/staging/media/atomisp/pci/atomisp_v4l2.c
··· 1090 1090 return err; 1091 1091 1092 1092 err = media_create_pad_link(&isp->asd.subdev.entity, ATOMISP_SUBDEV_PAD_SOURCE, 1093 - &isp->asd.video_out.vdev.entity, 0, 0); 1093 + &isp->asd.video_out.vdev.entity, 0, 1094 + MEDIA_LNK_FL_ENABLED | MEDIA_LNK_FL_IMMUTABLE); 1094 1095 if (err) 1095 1096 return err; 1096 1097