Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115762
b: refs/heads/master
c: 8296345
h: refs/heads/master
v: v3
  • Loading branch information
SangSu Park authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 038f816 commit 87978ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 0b14c3881d4b91272b779f4037e263d392de058f
refs/heads/master: 8296345a35551414b07419f4c9223734c1fc5437
3 changes: 1 addition & 2 deletions trunk/drivers/usb/gadget/printer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1278,8 +1278,7 @@ printer_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
/* respond with data transfer before status phase? */
if (value >= 0) {
req->length = value;
req->zero = value < wLength
&& (value % gadget->ep0->maxpacket) == 0;
req->zero = value < wLength;
value = usb_ep_queue(gadget->ep0, req, GFP_ATOMIC);
if (value < 0) {
DBG(dev, "ep_queue --> %d\n", value);
Expand Down

0 comments on commit 87978ff

Please sign in to comment.