]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly
authorMike Isely <isely@pobox.com>
Sat, 20 Jan 2007 04:56:04 +0000 (01:56 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:41 +0000 (13:34 -0200)
commit606cf9caeb3b908426757924bfdce85cb854aa81
treef7236b01b9d8e3af4b12116a9c0ebe055f1ac60c
parent27c7b710a4010e10b14500c0b27bb4c2a806de1b
V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly

Audio mode changes are not private to the audio chip - other I2C
modules need to see this as well.  And since the command in question
is VIDIOC_S_TUNER which is a standard v4l2 command, we really should
be broadcasting it out.  This change sets up a broadcast pathway for
VIDIOC_S_TUNER and also eliminates the now redundant code from the
audio chip handler.
This fix enables stereo reception for the FM radio

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-audio.c
drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h