diff options
author | Hans Verkuil | 2017-12-14 00:44:42 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2017-12-18 21:01:23 +0100 |
commit | c4b72ee8acce3d1e2a2fe7398aac9567deebf837 (patch) | |
tree | 3eab6d08a404f42e4716e384267183052d0dc344 /drivers/media/v4l2-core/videobuf2-dma-contig.c | |
parent | media: vb2: clear V4L2_BUF_FLAG_LAST when filling vb2_buffer (diff) | |
download | kernel-qcow2-linux-c4b72ee8acce3d1e2a2fe7398aac9567deebf837.tar.gz kernel-qcow2-linux-c4b72ee8acce3d1e2a2fe7398aac9567deebf837.tar.xz kernel-qcow2-linux-c4b72ee8acce3d1e2a2fe7398aac9567deebf837.zip |
media: pvrusb2: correctly return V4L2_PIX_FMT_MPEG in enum_fmt
The pvrusb2 code appears to have a some old workaround code for xawtv that causes a
WARN() due to an unrecognized pixelformat 0 in v4l2_ioctl.c.
Since all other MPEG drivers fill this in correctly, it is a safe assumption that
this particular problem no longer exists.
While I'm at it, clean up the code a bit.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/v4l2-core/videobuf2-dma-contig.c')
0 files changed, 0 insertions, 0 deletions