Re: [PATCH 1/2] usb: gadget: add usb_gadget_activate/deactivate functions

2015-04-30 Thread Felipe Balbi
On Thu, Apr 30, 2015 at 11:08:27AM +0200, Robert Baldyga wrote: > On 04/29/2015 05:30 PM, Felipe Balbi wrote: > > On Wed, Apr 29, 2015 at 11:08:06AM +0200, Robert Baldyga wrote: > >> Hi Felipe, > >> > >> On 04/28/2015 06:40 PM, Felipe Balbi wrote: > >>> On Tue, Apr 07, 2015 at 10:31:52AM +0200, Rob

Re: [PATCH 1/2] usb: gadget: add usb_gadget_activate/deactivate functions

2015-04-30 Thread Robert Baldyga
On 04/29/2015 05:30 PM, Felipe Balbi wrote: > On Wed, Apr 29, 2015 at 11:08:06AM +0200, Robert Baldyga wrote: >> Hi Felipe, >> >> On 04/28/2015 06:40 PM, Felipe Balbi wrote: >>> On Tue, Apr 07, 2015 at 10:31:52AM +0200, Robert Baldyga wrote: These functions allows to deactivate gadget to make

Re: [PATCH 1/2] usb: gadget: add usb_gadget_activate/deactivate functions

2015-04-29 Thread Felipe Balbi
On Wed, Apr 29, 2015 at 11:08:06AM +0200, Robert Baldyga wrote: > Hi Felipe, > > On 04/28/2015 06:40 PM, Felipe Balbi wrote: > > On Tue, Apr 07, 2015 at 10:31:52AM +0200, Robert Baldyga wrote: > >> These functions allows to deactivate gadget to make it not visible to > >> host and make it active a

Re: [PATCH 1/2] usb: gadget: add usb_gadget_activate/deactivate functions

2015-04-29 Thread Robert Baldyga
Hi Felipe, On 04/28/2015 06:40 PM, Felipe Balbi wrote: > On Tue, Apr 07, 2015 at 10:31:52AM +0200, Robert Baldyga wrote: >> These functions allows to deactivate gadget to make it not visible to >> host and make it active again when gadget driver is finally ready. >> >> They are needed to fix usb_f

Re: [PATCH 1/2] usb: gadget: add usb_gadget_activate/deactivate functions

2015-04-28 Thread Felipe Balbi
On Tue, Apr 07, 2015 at 10:31:52AM +0200, Robert Baldyga wrote: > These functions allows to deactivate gadget to make it not visible to > host and make it active again when gadget driver is finally ready. > > They are needed to fix usb_function_activate() and usb_function_deactivate() > functions

[PATCH 1/2] usb: gadget: add usb_gadget_activate/deactivate functions

2015-04-07 Thread Robert Baldyga
These functions allows to deactivate gadget to make it not visible to host and make it active again when gadget driver is finally ready. They are needed to fix usb_function_activate() and usb_function_deactivate() functions which currently are not working as usb_gadget_connect() is called immediat