Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264997
b: refs/heads/master
c: ef7f584
h: refs/heads/master
i:
  264995: 911ba95
v: v3
  • Loading branch information
Felipe Balbi committed Sep 9, 2011
1 parent 4c30d7d commit d42d4de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 6532c7fdb2c3a2ec1b949ecd2ff5375069c1639a
refs/heads/master: ef7f584ce7b40bcfc108477d2711270379ca8596
11 changes: 6 additions & 5 deletions trunk/drivers/usb/gadget/f_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,17 +681,18 @@ f_audio_bind(struct usb_configuration *c, struct usb_function *f)

status = -ENOMEM;

/* supcard all relevant hardware speeds... we expect that when
/* copy descriptors, and track endpoint copies */
f->descriptors = usb_copy_descriptors(f_audio_desc);

/*
* support all relevant hardware speeds... we expect that when
* hardware is dual speed, all bulk-capable endpoints work at
* both speeds
*/

/* copy descriptors, and track endpoint copies */
if (gadget_is_dualspeed(c->cdev->gadget)) {
c->highspeed = true;
f->hs_descriptors = usb_copy_descriptors(f_audio_desc);
} else
f->descriptors = usb_copy_descriptors(f_audio_desc);
}

return 0;

Expand Down

0 comments on commit d42d4de

Please sign in to comment.