projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90f9e53
)
usb: gadget: f_uac1: configure endpoint before using it
author
Xuebing Wang
<xbing6@gmail.com>
Wed, 10 Dec 2014 08:28:14 +0000
(16:28 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 12 Jan 2015 18:13:26 +0000
(12:13 -0600)
UAC1 forget to do it.
Signed-off-by: Xuebing Wang <xbing6@gmail.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uac1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/function/f_uac1.c
b/drivers/usb/gadget/function/f_uac1.c
index f7b20329320583d05c096882d8e04cec7d905097..380b1377855682cb9df5b8ff7bfb453321b3d428 100644
(file)
--- a/
drivers/usb/gadget/function/f_uac1.c
+++ b/
drivers/usb/gadget/function/f_uac1.c
@@
-584,6
+584,7
@@
static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt)
if (intf == 1) {
if (alt == 1) {
+ config_ep_by_speed(cdev->gadget, f, out_ep);
usb_ep_enable(out_ep);
out_ep->driver_data = audio;
audio->copy_buf = f_audio_buffer_alloc(audio_buf_size);