f_uac1 audio control header descriptor default set baInterfaceNr[]={1,2}, but
usb gadget make a configuration descriptor with more interfaces combination, it
can not confirm f_uac1 function linked first. So always keep
baInterfaceNr[]={1,2} is correct, and it is necessary to sync baInterfaceNr[]
Add f_uac1 interface association descriptor, make f_uac1 link other
function(like f_uvc) is possible.
Signed-off-by: Liang Shengjun
---
drivers/usb/gadget/function/f_uac1.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/usb/gadget/function/f_uac1.c
b/drivers/usb/gad
f_uac1 audio control header descriptor default set baInterfaceNr[]={1,2},
but usb gadget make a configuration descriptor with more interfaces combination,
it can not confirm f_uac1 function linked first. So always keep
baInterfaceNr[]={1,2}
is correct, and it is necessary to sync baInterfaceNr[] w
Add f_uac1 interface association descriptor, make f_uac1 link other
function(like f_uvc) is possible.
Signed-off-by: Liang Shengjun
---
drivers/usb/gadget/function/f_uac1.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/usb/gadget/function/f_uac1.c
b/drivers/usb/gad
-
发件人: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
发送时间: 2018年6月25日 15:48
收件人: Alan Stern
抄送: liangshengjun ; sta...@vger.kernel.org;
linux-usb@vger.kernel.org
主题: Re: make a confirm for [usb: dwc3: gadget: skip Set/Clear Halt when invalid]
Hi,
Alan Stern writes:
>> that p
After merge the patch
[PATCH] usb: dwc3: gadget: properly increment dequeue pointer on,
fixed the case.
Thank you so much.
Liang Shengjun
-邮件原件-
发件人: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
发送时间: 2018年6月25日 17:43
收件人: liangshengjun
抄送: sta...@vger.kernel.org; linux-usb
@linux.intel.com]
发送时间: 2018年6月25日 15:48
收件人: Alan Stern
抄送: liangshengjun ; sta...@vger.kernel.org;
linux-usb@vger.kernel.org
主题: Re: make a confirm for [usb: dwc3: gadget: skip Set/Clear Halt when invalid]
Hi,
Alan Stern writes:
>> that patch is not 100% correct. You can revert it i