Re: undefined reference to `usb_gadget_unmap_request' regression

2013-05-14 Thread Vivek Gautam
Hi, On Fri, May 10, 2013 at 8:35 PM, Vivek Gautam wrote: > Hi Felipe, > > > On Thu, May 9, 2013 at 8:18 PM, Felipe Balbi wrote: >> Hi, >> >> On Wed, May 08, 2013 at 10:04:56PM +0530, Vivek Gautam wrote: >>> Commit 388e5c51135f817f01177c42261f1116a6d7f2ad usb: dwc3: remove >>> dwc3 dependency on

Re: undefined reference to `usb_gadget_unmap_request' regression

2013-05-10 Thread Vivek Gautam
Hi Felipe, On Thu, May 9, 2013 at 8:18 PM, Felipe Balbi wrote: > Hi, > > On Wed, May 08, 2013 at 10:04:56PM +0530, Vivek Gautam wrote: >> Commit 388e5c51135f817f01177c42261f1116a6d7f2ad usb: dwc3: remove >> dwc3 dependency on host AND gadget >> by me breaks compilation when USB_DWC3=y, USB=y but

Re: undefined reference to `usb_gadget_unmap_request' regression

2013-05-10 Thread Vivek Gautam
Hi Peter, On Thu, May 9, 2013 at 6:49 AM, Peter Chen wrote: > We met similar problem at chipidea. I give a patch, but maybe there > can be improved. > > http://marc.info/?l=linux-usb&m=136804273919518&w=2 Thanks for pointing to this patch. It was really helpful in thinking in certain direction.

Re: undefined reference to `usb_gadget_unmap_request' regression

2013-05-09 Thread Felipe Balbi
Hi, On Wed, May 08, 2013 at 10:04:56PM +0530, Vivek Gautam wrote: > Commit 388e5c51135f817f01177c42261f1116a6d7f2ad usb: dwc3: remove > dwc3 dependency on host AND gadget > by me breaks compilation when USB_DWC3=y, USB=y but USB_GADGET=m, > additionally when either of USB_DWC3_GADGET=y or USB_DWC3

Re: undefined reference to `usb_gadget_unmap_request' regression

2013-05-08 Thread Peter Chen
We met similar problem at chipidea. I give a patch, but maybe there can be improved. http://marc.info/?l=linux-usb&m=136804273919518&w=2 On Thu, May 9, 2013 at 12:34 AM, Vivek Gautam wrote: > Hi Felipe, > > Commit 388e5c51135f817f01177c42261f1116a6d7f2ad usb: dwc3: remove dwc3 > dependency on ho

undefined reference to `usb_gadget_unmap_request' regression

2013-05-08 Thread Vivek Gautam
Hi Felipe, Commit 388e5c51135f817f01177c42261f1116a6d7f2ad usb: dwc3: remove dwc3 dependency on host AND gadget by me breaks compilation when USB_DWC3=y, USB=y but USB_GADGET=m, additionally when either of USB_DWC3_GADGET=y or USB_DWC3_DUAL_ROLE=y :-( I had some confusion with this actually