summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dm1105/Makefile
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-01-28 16:32:59 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2009-01-28 16:32:59 -0800
commit4a49903c6320c8ba9dfe2c139103166f75594f49 (patch)
tree555eca82883e87d0cf0233c4319f81bd26995e9c /linux/drivers/media/dvb/dm1105/Makefile
parent562378e1f982f3a817c81594e61d40ffa05fac7d (diff)
downloadmediapointer-dvb-s2-4a49903c6320c8ba9dfe2c139103166f75594f49.tar.gz
mediapointer-dvb-s2-4a49903c6320c8ba9dfe2c139103166f75594f49.tar.bz2
bttv: Fix TDA9880 norm setting code
From: Trent Piepho <xyzzy@speakeasy.org> 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. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/dvb/dm1105/Makefile')
0 files changed, 0 insertions, 0 deletions