projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f0693
)
[media] dvb-core: fix return code checking for devices with CA
author
Olli Salonen
<olli.salonen@iki.fi>
Tue, 1 Mar 2016 19:28:54 +0000
(16:28 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Thu, 3 Mar 2016 17:33:33 +0000
(14:33 -0300)
The test for the return code was mistakenly inverted. This caused DVB
devices with CA module to fail on modprobe.
Tested with TechnoTrend CT2-4650 CI USB tuner.
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvbdev.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-core/dvbdev.c
b/drivers/media/dvb-core/dvbdev.c
index 1b9732ee0a4fbd4720289d336148941e4e0de550..e1684c570e2f252df2c152ed28c00c4f69b0cc23 100644
(file)
--- a/
drivers/media/dvb-core/dvbdev.c
+++ b/
drivers/media/dvb-core/dvbdev.c
@@
-681,7
+681,7
@@
int dvb_create_media_graph(struct dvb_adapter *adap,
if (demux && ca) {
ret = media_create_pad_link(demux, 1, ca,
0, MEDIA_LNK_FL_ENABLED);
- if (
!
ret)
+ if (ret)
return -ENOMEM;
}