]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (11059): xc5000: fix bug for hybrid xc5000 devices with IF other than 5380
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Wed, 11 Mar 2009 05:58:53 +0000 (02:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:24 +0000 (12:43 -0300)
commitea2278633ab4728c41b4043f47df4d3e39131992
treecca377d7c1e1e7b8b9ea483e5a07954b14409b2e
parente9d4a6d5ef58a700d3add96ffb984741c6e34fff
V4L/DVB (11059): xc5000: fix bug for hybrid xc5000 devices with IF other than 5380

The xc5000 driver has a bug where the IF is always set to whatever the first
caller to dvb_attach() provides.  This fails when the device requires an IF
other than 5380 and the analog driver is loaded first through tuner-core
(which always supplies the hard-coded value of 5380).

Thanks to Michael Krufky <mkrufky@linuxtv.org> and Steven Toth
<stoth@linuxtv.org> for providing sample hardware, engineering level support,
and testing.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc5000.c
drivers/media/video/tuner-core.c