Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4328
b: refs/heads/master
c: 12ba050
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Stezenbach authored and Linus Torvalds committed Jul 8, 2005
1 parent b5ec721 commit d6ef866
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce18a223607b0e8cc9a8375abc64281a13ac423c
refs/heads/master: 12ba05049f9060e21ed1f95e876d8d063d2575b2
15 changes: 7 additions & 8 deletions trunk/drivers/media/dvb/ttpci/av7110.c
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,7 @@ static int av7110_stop_feed(struct dvb_demux_feed *feed)
{
struct dvb_demux *demux = feed->demux;
struct av7110 *av7110 = demux->priv;

int ret = 0;
int i, rc, ret = 0;
dprintk(4, "%p\n", av7110);

if (feed->type == DMX_TYPE_TS) {
Expand All @@ -1072,17 +1071,17 @@ static int av7110_stop_feed(struct dvb_demux_feed *feed)
}

if (!ret && feed->type == DMX_TYPE_SEC) {
int i;

for (i = 0; i<demux->filternum; i++)
for (i = 0; i<demux->filternum; i++) {
if (demux->filter[i].state == DMX_STATE_GO &&
demux->filter[i].filter.parent == &feed->feed.sec) {
demux->filter[i].state = DMX_STATE_READY;
if (demux->dmx.frontend->source != DMX_MEMORY_FE) {
ret = StopHWFilter(&demux->filter[i]);
if (ret)
break;
rc = StopHWFilter(&demux->filter[i]);
if (!ret)
ret = rc;
/* keep going, stop as many filters as possible */
}
}
}
}

Expand Down

0 comments on commit d6ef866

Please sign in to comment.