Fix return code if no demux was found (cineS2_probe). Signed-off-by: Oliver Endriss <o.endriss@xxxxxx> --- drivers/media/dvb/ngene/ngene-cards.c | 1 + 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 0d550a9..0d879cb 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; } -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html