kernel-ark/drivers/media/video/bt8xx
Trent Piepho 72134a6d51 V4L/DVB (10559): bttv: Fix TDA9880 norm setting code
The code to set the norm for the TDA9880 analog demod was comparing
btv->norm, an index into the bttv driver's norm array, to V4L2_STD_NTSC,
which is a bit flag that's part of the V4L2 API.  This doesn't work of
course and results in the PAL path always being taken.

What's more, it modified the bttv_tvcards[] entries for cards using the
TDA9880.  This is wrong because changing the norm on one card will also
affect other cards of the same type.  Writing to bttv_tvcards is also bad
because it should be read-only or even devinitdata.

Changing the norm would also cause the audio to become unmuted.

Have the code get called for both norm setting and audio input setting
(which where the gpios are set) to avoid needed to modify bttv_tvcards.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30 12:42:46 -03:00
..
bt848.h
bttv-audio-hook.c
bttv-audio-hook.h
bttv-cards.c V4L/DVB (10559): bttv: Fix TDA9880 norm setting code 2009-03-30 12:42:46 -03:00
bttv-driver.c V4L/DVB (10559): bttv: Fix TDA9880 norm setting code 2009-03-30 12:42:46 -03:00
bttv-gpio.c V4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-29 17:53:26 -02:00
bttv-i2c.c
bttv-if.c
bttv-input.c
bttv-risc.c
bttv-vbi.c V4L/DVB (10558): bttv: norm value should be unsigned 2009-03-30 12:42:46 -03:00
bttv.h V4L/DVB (10559): bttv: Fix TDA9880 norm setting code 2009-03-30 12:42:46 -03:00
bttvp.h V4L/DVB (10558): bttv: norm value should be unsigned 2009-03-30 12:42:46 -03:00
Kconfig
Makefile