V4L/DVB (12300): bttv: fix regression: tvaudio must be loaded before tuner
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 20 Jul 2009 11:14:17 +0000 (08:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:31 +0000 (14:03 -0300)
commit2c90577841a76f1935ff3437ffb552b41f5c28fa
treeeaa4a98bbe375733211942de36231b81a97d15a7
parent68b7f7616add4b1de0fe75015ba3884d2d9ff796
V4L/DVB (12300): bttv: fix regression: tvaudio must be loaded before tuner

Both tvaudio and the tuner share i2c address 0x42. The tvaudio module can
check whether it really is a tda9840, but the tuner can't. So the tvaudio
module must be loaded before the tuner module. This was also the case for
2.6.29, but the order was swapped in 2.6.30.

Thanks to Krzysztof Grygiencz for reporting and testing this.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/bt8xx/bttv-cards.c
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/bt8xx/bttv.h