diff options
author | Patrick Boettcher <devnull@localhost> | 2005-06-26 08:43:49 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-06-26 08:43:49 +0000 |
commit | 6ad3feae8a0ea319f59f05d3d2e63046aa7f4c03 (patch) | |
tree | d3d4648559907a7a5a1a2b31bce6b59c7abf8b91 /linux/drivers/media/dvb/dvb-usb | |
parent | f7fb65d48d0f5c19cc22564c4b968a9a9d23e217 (diff) | |
download | mediapointer-dvb-s2-6ad3feae8a0ea319f59f05d3d2e63046aa7f4c03.tar.gz mediapointer-dvb-s2-6ad3feae8a0ea319f59f05d3d2e63046aa7f4c03.tar.bz2 |
FIX: not using HZ for usb-transfer-timeouts.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dvb-usb-urb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dvb-usb-urb.c b/linux/drivers/media/dvb/dvb-usb/dvb-usb-urb.c index dcd8c2f91..f5799a4c2 100644 --- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-urb.c +++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-urb.c @@ -29,7 +29,7 @@ int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, ret = usb_bulk_msg(d->udev,usb_sndbulkpipe(d->udev, d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, - 2*HZ); + 2000); if (ret) err("bulk message failed: %d (%d/%d)",ret,wlen,actlen); @@ -43,7 +43,7 @@ int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, ret = usb_bulk_msg(d->udev,usb_rcvbulkpipe(d->udev, d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, - 2*HZ); + 2000); if (ret) err("recv bulk message failed: %d",ret); |