diff options
author | Patrick Boettcher <devnull@localhost> | 2005-02-05 18:58:09 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-02-05 18:58:09 +0000 |
commit | c6c836222ab735fa25fa896494effa0aa07c8e0b (patch) | |
tree | 03d2156cfe23b11577939e2736005cc5755cb169 /linux | |
parent | 8ba5a85f1a2a7b94fe6b84cd2599a0ba359513a2 (diff) | |
download | mediapointer-dvb-s2-c6c836222ab735fa25fa896494effa0aa07c8e0b.tar.gz mediapointer-dvb-s2-c6c836222ab735fa25fa896494effa0aa07c8e0b.tar.bz2 |
remove any traces of the firmware bug
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c index d7dd6e747..4cc8f5f8c 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c +++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c @@ -28,7 +28,7 @@ void dibusb_urb_complete(struct urb *urb, struct pt_regs *ptregs) urb->actual_length); urb_compl_count++; - if (urb_compl_count % 500 == 0) + if (urb_compl_count % 1000 == 0) deb_info("%d urbs completed so far.\n",urb_compl_count); switch (urb->status) { @@ -40,7 +40,8 @@ void dibusb_urb_complete(struct urb *urb, struct pt_regs *ptregs) case -ESHUTDOWN: return; default: /* error */ - warn("urb completition error %d.", urb->status); + deb_ts("urb completition error %d.", urb->status); + break; } if (dib->feedcount > 0) { @@ -77,7 +78,6 @@ static int dibusb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) /* * stop feed before setting a new pid if there will be no pid anymore */ -// if ((dib->dibdev->parm->firmware_bug && dib->feedcount) || if (newfeedcount == 0) { deb_ts("stop feeding\n"); if (dib->xfer_ops.fifo_ctrl != NULL) { @@ -97,12 +97,9 @@ static int dibusb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) dibusb_ctrl_pid(dib,dvbdmxfeed,onoff); /* - * start the feed, either if there is the firmware bug or - * if this was the first pid to set and there is still a pid for - * reception. + * start the feed if this was the first pid to set and there is still a pid + * for reception. */ - -// if ((dib->dibdev->parm->firmware_bug) if (dib->feedcount == onoff && dib->feedcount > 0) { deb_ts("controlling pid parser\n"); |