linux/drivers/media/test-drivers
Sakari Ailus cf7f34777a media: vim2m: Register video device after setting up internals
Prevent NULL (or close to NULL) pointer dereference in various places by
registering the video device only when the V4L2 m2m framework has been set
up.

Fixes: commit 96d8eab5d0 ("V4L/DVB: [v5,2/2] v4l: Add a mem-to-mem videobuf framework test device")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-17 07:12:18 +01:00
..
vicodec Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
vidtv media: vidtv: fix decoding with gstreamer and Vlc 2020-10-01 09:24:54 +02:00
vimc media: media/test-drivers: use vb2_video_unregister_device() 2020-08-28 15:05:40 +02:00
vivid media: vivid: fix (partially) timing issues 2020-11-16 10:31:08 +01:00
Kconfig media: media/test-drivers/Kconfig: fix broken Kconfig 2020-09-12 10:21:01 +02:00
Makefile media: vidtv: implement a tuner driver 2020-09-12 09:42:16 +02:00
vim2m.c media: vim2m: Register video device after setting up internals 2020-11-17 07:12:18 +01:00