Skip to content

Commit 632f8df

Browse files
Hans Verkuilsashalevin
authored andcommitted
[media] sh_veu: v4l2_dev wasn't set
[ Upstream commit ab31203 ] 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: Hans Verkuil <hans.verkuil@cisco.com> Cc: <stable@vger.kernel.org> # for v3.11 and up Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
1 parent a7c0141 commit 632f8df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/media/platform/sh_veu.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,7 @@ static int sh_veu_probe(struct platform_device *pdev)
11791179
}
11801180

11811181
*vdev = sh_veu_videodev;
1182+
vdev->v4l2_dev = &veu->v4l2_dev;
11821183
spin_lock_init(&veu->lock);
11831184
mutex_init(&veu->fop_lock);
11841185
vdev->lock = &veu->fop_lock;

0 commit comments

Comments
 (0)