Skip to content

Commit

Permalink
[media] ngene: Fix return code if no demux was found
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 9143a43 commit d9396b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/ngene/ngene-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d9396b8

Please sign in to comment.