aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2011-04-17 15:55:14 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 08:28:54 -0400
commitdca6b74bb332f6aa52bd2a6efc464233e542297b (patch)
treeb2a397e0e27fbeef921ebfd79a9254b8008144f9 /drivers/media/dvb/dvb-usb
parentc8b7ced3460934cb31464463d7f909fef5db9391 (diff)
[media] dvb-usb: don't return error if stream stop
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb-dvb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c b/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c
index 965698b2d974..b3cb626ed56e 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c
@@ -26,9 +26,10 @@ static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
26 26
27 if (adap->props.streaming_ctrl != NULL) { 27 if (adap->props.streaming_ctrl != NULL) {
28 ret = adap->props.streaming_ctrl(adap, 0); 28 ret = adap->props.streaming_ctrl(adap, 0);
29 err("error while stopping stream."); 29 if (ret < 0) {
30 if (ret < 0) 30 err("error while stopping stream.");
31 return ret; 31 return ret;
32 }
32 } 33 }
33 } 34 }
34 35