diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-05-01 15:23:07 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 19:58:54 +0400 |
commit | cf19cd3d8a043b1c5784218709a85e358e0d78fb (patch) | |
tree | 41f417e27660c29cd823e5bc3c0cd39753985f82 /drivers/media/video/em28xx | |
parent | ffb4877ba013f94322083f77cbb05b35c2a218aa (diff) | |
download | linux-cf19cd3d8a043b1c5784218709a85e358e0d78fb.tar.xz |
V4L/DVB: tvp7002: fix query_dv_preset
If no signal or valid format is detected, then VIDIOC_QUERY_DV_PRESET must
return 0 and set the preset to V4L2_DV_INVALID.
This driver returned an error instead.
Also simplified the kernel messages a bit: change v4l2_err to v4l2_dbg (not
detecting a signal/valid format is not an error, so only print this info when
debug == 1) and do not call v4l_fill_dv_preset_info: it's overkill to do this
just for a debug message.
Thanks to Mats Randgaard for bringing this to my attention.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
0 files changed, 0 insertions, 0 deletions