Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab312030 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] sh_veu: v4l2_dev wasn't set



The v4l2_dev field of struct video_device must be set correctly.
This was never done for this driver, so no video nodes were created
anymore.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org>      # for v3.11 and up
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 41f03a00
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1158,6 +1158,7 @@ static int sh_veu_probe(struct platform_device *pdev)
	}

	*vdev = sh_veu_videodev;
	vdev->v4l2_dev = &veu->v4l2_dev;
	spin_lock_init(&veu->lock);
	mutex_init(&veu->fop_lock);
	vdev->lock = &veu->fop_lock;