diff options
| author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-07-12 07:54:26 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-17 18:29:27 -0300 |
| commit | ce71bbc91e2440a399f2f96b96cfbf263a6629c1 (patch) | |
| tree | 8adf6e359ab5e19e8f4db064e3031b3ff1a5e2c4 /drivers/media/v4l2-core/v4l2-dev.c | |
| parent | [media] DocBook media: fix incorrect header reference (diff) | |
| download | linux-ce71bbc91e2440a399f2f96b96cfbf263a6629c1.tar.gz linux-ce71bbc91e2440a399f2f96b96cfbf263a6629c1.zip | |
[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
