diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2017-12-13 18:44:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 15:01:23 -0500 |
commit | c4b72ee8acce3d1e2a2fe7398aac9567deebf837 (patch) | |
tree | 3eab6d08a404f42e4716e384267183052d0dc344 /drivers/spmi | |
parent | 327553ae8eb87a66b2c9e041e890ea66f21009b2 (diff) | |
download | linux-stable-c4b72ee8acce3d1e2a2fe7398aac9567deebf837.tar.gz linux-stable-c4b72ee8acce3d1e2a2fe7398aac9567deebf837.tar.bz2 linux-stable-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/spmi')
0 files changed, 0 insertions, 0 deletions