Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276339
b: refs/heads/master
c: 7c91d90
h: refs/heads/master
i:
  276337: 87a6531
  276335: 8c6662c
v: v3
  • Loading branch information
Peter Chen authored and Greg Kroah-Hartman committed Nov 29, 2011
1 parent b4eaa63 commit 1047606
Show file tree
Hide file tree
Showing 2 changed files with 3 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: bfe0658b402dab3d6fbef4b7bd81a46d0e68eb86
refs/heads/master: 7c91d908f5af027ed14b3d103331f91f386c1043
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/fsl_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags)
VDBG("%s, bad ep", __func__);
return -EINVAL;
}
if (ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
if (usb_endpoint_xfer_isoc(ep->desc)) {
if (req->req.length > ep->ep.maxpacket)
return -EMSGSIZE;
}
Expand Down Expand Up @@ -1032,7 +1032,7 @@ static int fsl_ep_set_halt(struct usb_ep *_ep, int value)
goto out;
}

if (ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
if (usb_endpoint_xfer_isoc(ep->desc)) {
status = -EOPNOTSUPP;
goto out;
}
Expand Down

0 comments on commit 1047606

Please sign in to comment.