Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213566
b: refs/heads/master
c: 5c836e4
h: refs/heads/master
v: v3
  • Loading branch information
Roger Quadros authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent c42a2a4 commit 585dce5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 3df7169e73fc1d71a39cffeacc969f6840cdf52b
refs/heads/master: 5c836e4d583701a5eecb288b5f131da39115f5ec
3 changes: 2 additions & 1 deletion trunk/drivers/usb/gadget/composite.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,8 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
*/
switch (ctrl->bRequestType & USB_RECIP_MASK) {
case USB_RECIP_INTERFACE:
f = cdev->config->interface[intf];
if (cdev->config)
f = cdev->config->interface[intf];
break;

case USB_RECIP_ENDPOINT:
Expand Down

0 comments on commit 585dce5

Please sign in to comment.