From: Hans Verkuil Date: Sat, 12 Jul 2014 10:54:26 +0000 (-0300) Subject: [media] v4l2-ioctl.c: check vfl_type in ENUM_FMT X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~294 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce71bbc91e2440a399f2f96b96cfbf263a6629c1;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed