[PATCH] usb: gadget: function: sync f_uac1 ac header baInterfaceNr

2018-12-23 Thread liangshengjun
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[]

[PATCH] usb: gadget: function: f_uac1 add interface assoc desc

2018-12-23 Thread liangshengjun
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

[PATCH] usb: gadget: function: sync f_uac1 ac header baInterfaceNr

2018-12-19 Thread liangshengjun
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

[PATCH] usb: gadget: function: f_uac1 add interface assoc desc

2018-12-19 Thread liangshengjun
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

答复: make a confirm for [usb: dwc3: gadget: skip Set/Clear Halt when invalid]

2018-06-28 Thread liangshengjun
- 发件人: 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

答复: make a confirm for [usb: dwc3: gadget: skip Set/Clear Halt when invalid]

2018-06-26 Thread liangshengjun
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

Re: make a confirm for [usb: dwc3: gadget: skip Set/Clear Halt when invalid]

2018-06-25 Thread liangshengjun
@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