[DVB patch 36/54] Nebula DigiTV nxt6000 fix

Johannes Stezenbach
2005-09-04T23:50:06Z

[-- Attachment #1: dvb-bt8xx-nebula-digitv-nxt600-fix.patch --]
[-- Type: text/plain, Size: 998 bytes --]

From: Stuart Auchterlonie <stuarta@squashedfrog.net>

Fix bug in Nebula DigiTV frontend detection for nxt6000.

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>

drivers/media/dvb/bt8xx/dvb-bt8xx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

--- linux-2.6.13-git4.orig/drivers/media/dvb/bt8xx/dvb-bt8xx.c 2005-09-04 22:28:29.000000000 +0200
+++ linux-2.6.13-git4/drivers/media/dvb/bt8xx/dvb-bt8xx.c 2005-09-04 22:28:30.000000000 +0200
@@ -574,8 +574,10 @@ static void frontend_init(struct dvb_bt8

/* Old Nebula (marked (c)2003 on high profile pci card) has nxt6000 demod */
card->fe = nxt6000_attach(&vp3021_alps_tded4_config, card->i2c_adapter);
- if (card->fe != NULL)
+ if (card->fe != NULL) {
dprintk ("dvb_bt8xx: an nxt6000 was detected on your digitv card\n");
+ break;
+ }

/* New Nebula (marked (c)2005 on low profile pci card) has mt352 demod */
digitv_alps_tded4_reset(card);

--