aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-06-12 06:36:41 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-08 10:23:06 -0700
commit46905de090c508781d0ef2a0add4503bc2066e57 (patch)
tree681018934b1fc7d3c993662e79b5642d8a3dd0e8 /drivers/hid
parent32910025980f24cab5061901d9b1249c2b2574b2 (diff)
v4l2-ioctl.c: prefill tuner type for g_frequency and g/s_tuner
commit 227690df75382e46a4f6ea1bbc5df855a674b47f upstream. The subdevs are supposed to receive a valid tuner type for the g_frequency and g/s_tuner subdev ops. Some drivers do this, others don't. So prefill this in v4l2-ioctl.c based on whether the device node from which this is called is a radio node or not. The spec does not require applications to fill in the type, and if they leave it at 0 then the 'check_mode' call in tuner-core.c will return an error and the ioctl does nothing. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions