[media] omap3isp: Fix crash caused by subdevs now having a pointer to devnodes
Commit 3e0ec41c5c
("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>
This commit is contained in:
parent
8791d63af0
commit
63ae37ea51
|
@ -1407,7 +1407,7 @@ static int __ccdc_handle_stopping(struct isp_ccdc_device *ccdc, u32 event)
|
||||||
static void ccdc_hs_vs_isr(struct isp_ccdc_device *ccdc)
|
static void ccdc_hs_vs_isr(struct isp_ccdc_device *ccdc)
|
||||||
{
|
{
|
||||||
struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
|
struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
|
||||||
struct video_device *vdev = &ccdc->subdev.devnode;
|
struct video_device *vdev = ccdc->subdev.devnode;
|
||||||
struct v4l2_event event;
|
struct v4l2_event event;
|
||||||
|
|
||||||
memset(&event, 0, sizeof(event));
|
memset(&event, 0, sizeof(event));
|
||||||
|
|
Reference in New Issue