summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-dev.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-07-12 07:54:26 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-17 18:29:27 -0300
commitce71bbc91e2440a399f2f96b96cfbf263a6629c1 (patch)
tree8adf6e359ab5e19e8f4db064e3031b3ff1a5e2c4 /drivers/media/v4l2-core/v4l2-dev.c
parentd9cdebd0faf2f04d1f5e06f478a7dc7a1861c970 (diff)
[media] v4l2-ioctl.c: check vfl_type in ENUM_FMT
The other format ioctls (g/s/try_fmt) all check if the passed buffer type makes sense for the device node's vfl_type. E.g. it makes no sense for a VBI buffer type to be passed through a video node instead of a vbi node. But this check was missing in ENUM_FMT which can cause a problem if you have both video and sdr device nodes. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-dev.c')
0 files changed, 0 insertions, 0 deletions