projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9143a43
)
[media] ngene: Fix return code if no demux was found
author
Oliver Endriss
<o.endriss@gmx.de>
Sun, 3 Jul 2011 16:57:26 +0000
(13:57 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:43 +0000
(17:55 -0300)
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>
drivers/media/dvb/ngene/ngene-cards.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/ngene/ngene-cards.c
b/drivers/media/dvb/ngene/ngene-cards.c
index
0d550a9
..
0d879cb
100644
(file)
--- 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;
}