From: Stuart Auchterlonie <[email protected]>
Fix bug in Nebula DigiTV frontend detection for nxt6000.
Signed-off-by: Stuart Auchterlonie <[email protected]>
Signed-off-by: Johannes Stezenbach <[email protected]>
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);
--