projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58769a5
)
[PATCH] dvb: usb: dont use HZ for timeouts
author
Patrick Boettcher
<pb@linuxtv.org>
Fri, 8 Jul 2005 00:58:27 +0000
(17:58 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:24:02 +0000
(18:24 -0700)
Don't use HZ for usb-transfer-timeouts.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/dvb-usb/dvb-usb-urb.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/dvb-usb-urb.c
b/drivers/media/dvb/dvb-usb/dvb-usb-urb.c
index dcd8c2f915f82d59e75d28fda7640a46f87f28f8..f5799a4c228e9610aa11151e97505f5430820e96 100644
(file)
--- a/
drivers/media/dvb/dvb-usb/dvb-usb-urb.c
+++ b/
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
);
+ 2
000
);
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
);
+ 2
000
);
if (ret)
err("recv bulk message failed: %d",ret);