summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ngene
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2011-07-03 13:57:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:55:43 -0300
commitd9396b8410a43347933a0ee0ae8b2eb9492f4bc2 (patch)
tree55b924bb45458e27c2fb60d85e53a95fcbd6f296 /drivers/media/dvb/ngene
parent9143a437cc2fe329c271115903a3884950aba57d (diff)
[media] ngene: Fix return code if no demux was found
Fix return code if no demux was found (cineS2_probe). Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ngene')
-rw-r--r--drivers/media/dvb/ngene/ngene-cards.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/ngene/ngene-cards.c b/drivers/media/dvb/ngene/ngene-cards.c
index 0d550a950e5..0d879cb2fb7 100644
--- a/drivers/media/dvb/ngene/ngene-cards.c
+++ b/drivers/media/dvb/ngene/ngene-cards.c
@@ -274,6 +274,7 @@ static int cineS2_probe(struct ngene_channel *chan)
demod_attach_drxk(chan, i2c);
} else {
printk(KERN_ERR "No demod found on chan %d\n", chan->number);
+ return -ENODEV;
}
return 0;
}