Skip to content

Commit

Permalink
[media] dvb-usb: don't return error if stream stop
Browse files Browse the repository at this point in the history
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent c8b7ced commit dca6b74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/media/dvb/dvb-usb/dvb-usb-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)

if (adap->props.streaming_ctrl != NULL) {
ret = adap->props.streaming_ctrl(adap, 0);
err("error while stopping stream.");
if (ret < 0)
if (ret < 0) {
err("error while stopping stream.");
return ret;
}
}
}

Expand Down

0 comments on commit dca6b74

Please sign in to comment.