diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-10-22 22:15:01 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-10-31 14:05:00 +0100 |
commit | 1377af2f756f3b5de2850ec0a5edebf227798d02 (patch) | |
tree | 50be4506b46fad8d5613482580ab69064ccb78e9 /drivers/usb/gadget/f_uac1.c | |
parent | usb: gadget: network: fix bind() error path (diff) | |
download | linux-1377af2f756f3b5de2850ec0a5edebf227798d02.tar.xz linux-1377af2f756f3b5de2850ec0a5edebf227798d02.zip |
usb: gadget: audio: remove c->highpseed = true from f_midi and uac1
Whether highspeed configuration is valid or not is something that
composite decides and not the gadget. That gadget can only provide the
required descriptors for it.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/f_uac1.c')
-rw-r--r-- | drivers/usb/gadget/f_uac1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_uac1.c b/drivers/usb/gadget/f_uac1.c index 1a5dcd5565e3..c8ed41ba1042 100644 --- a/drivers/usb/gadget/f_uac1.c +++ b/drivers/usb/gadget/f_uac1.c @@ -667,7 +667,6 @@ f_audio_bind(struct usb_configuration *c, struct usb_function *f) * both speeds */ if (gadget_is_dualspeed(c->cdev->gadget)) { - c->highspeed = true; f->hs_descriptors = usb_copy_descriptors(f_audio_desc); } |