]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita89a517f0ba31c161c3537bab14dbcdd0db57ecd
treeeaa4a98bbe375733211942de36231b81a97d15a7
parent815cd9dc59269f1db89a86066e48c5563bfbbeca
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