Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92759
b: refs/heads/master
c: ceb4340
h: refs/heads/master
i:
  92757: 5c90b71
  92755: 0f578c1
  92751: afdcc26
v: v3
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent d947f3a commit 72fb0c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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: e2780fb41102f9844ae6182c03908f03c3cb9163
refs/heads/master: ceb4340deb9bf5f8371d47ef906a83e6784345b0
11 changes: 8 additions & 3 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,8 @@ static void pvr2_dvb_fh_done(struct pvr2_dvb_fh *fh)
pvr2_channel_done(&fh->channel);
}

static int pvr2_dvb_feed_thread(void *data)
static int pvr2_dvb_feed_func(struct pvr2_dvb_adapter *adap)
{
struct pvr2_dvb_adapter *adap = data;
struct pvr2_dvb_fh fh;
int ret;
unsigned int count;
Expand Down Expand Up @@ -203,12 +202,18 @@ static int pvr2_dvb_feed_thread(void *data)

printk(KERN_DEBUG "dvb thread stopped\n");

return 0;
}

static int pvr2_dvb_feed_thread(void *data)
{
int stat = pvr2_dvb_feed_func(data);
/* from videobuf-dvb.c: */
while (!kthread_should_stop()) {
set_current_state(TASK_INTERRUPTIBLE);
schedule();
}
return 0;
return stat;
}

static int pvr2_dvb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
Expand Down

0 comments on commit 72fb0c6

Please sign in to comment.