diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-21 06:33:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 19:41:56 -0300 |
commit | d366d4a08a4e5e1fddc2cc820302be8e7a8143d4 (patch) | |
tree | 075deadb65cca98c621b6d9cea246752b3ed7031 /drivers/mtd | |
parent | 0e4c180d3e2cc11e248f29d4c604b6194739d05a (diff) | |
download | kernel_samsung_smdk4412-d366d4a08a4e5e1fddc2cc820302be8e7a8143d4.zip kernel_samsung_smdk4412-d366d4a08a4e5e1fddc2cc820302be8e7a8143d4.tar.gz kernel_samsung_smdk4412-d366d4a08a4e5e1fddc2cc820302be8e7a8143d4.tar.bz2 |
[media] V4L: soc-camera: explicitly require V4L2_BUF_TYPE_VIDEO_CAPTURE
The soc-camera core accesses the "pix" member of the struct v4l2_format::fmt
union, which is only valid for V4L2_BUF_TYPE_VIDEO_CAPTURE streams. This
patch adds explicit checks for this to {g,s,try}_fmt methods.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions