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] omap3isp: Fix crash caused by subdevs now having a pointer to devnodes

Commit 3e0ec41c5c5ee14e27f65e28d4a616de34f59a97 ("V4L: dynamically
allocate video_device nodes in subdevices") makes the
embedding video_device directly.

Fix accesses to the devnode accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Laurent Pinchart and committed by
Mauro Carvalho Chehab
63ae37ea 8791d63a

+1 -1
+1 -1
drivers/media/video/omap3isp/ispccdc.c
··· 1407 1407 static void ccdc_hs_vs_isr(struct isp_ccdc_device *ccdc) 1408 1408 { 1409 1409 struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity); 1410 - struct video_device *vdev = &ccdc->subdev.devnode; 1410 + struct video_device *vdev = ccdc->subdev.devnode; 1411 1411 struct v4l2_event event; 1412 1412 1413 1413 memset(&event, 0, sizeof(event));