Re: Should usb_gadget_disconnect() call driver's ->disconnect?

2018-08-10 Thread Felipe Balbi
Hi, Alan Stern writes: >> >> > The documentation doesn't state whether a gadget driver's >> >> > ->disconnect() callback will be invoked when usb_gadget_disconnect() >> >> > runs. Probably the UDC drivers' behavior has changed over the years. >> >> > >> >> > In any case, it's likely that vari

Re: Should usb_gadget_disconnect() call driver's ->disconnect?

2018-08-09 Thread Alan Stern
On Thu, 9 Aug 2018, Felipe Balbi wrote: > > Hi, > > Alan Stern writes: > >> Alan Stern writes: > >> > Felipe: > >> > > >> > The documentation doesn't state whether a gadget driver's > >> > ->disconnect() callback will be invoked when usb_gadget_disconnect() > >> > runs. Probably the UDC dri

Re: Should usb_gadget_disconnect() call driver's ->disconnect?

2018-08-09 Thread Felipe Balbi
Hi, Alan Stern writes: >> Alan Stern writes: >> > Felipe: >> > >> > The documentation doesn't state whether a gadget driver's >> > ->disconnect() callback will be invoked when usb_gadget_disconnect() >> > runs. Probably the UDC drivers' behavior has changed over the years. >> > >> > In any c

Re: Should usb_gadget_disconnect() call driver's ->disconnect?

2018-08-08 Thread Alan Stern
On Wed, 8 Aug 2018, Felipe Balbi wrote: > > Hi, > > Alan Stern writes: > > Felipe: > > > > The documentation doesn't state whether a gadget driver's > > ->disconnect() callback will be invoked when usb_gadget_disconnect() > > runs. Probably the UDC drivers' behavior has changed over the year

Re: Should usb_gadget_disconnect() call driver's ->disconnect?

2018-08-08 Thread Felipe Balbi
Hi, Alan Stern writes: > Felipe: > > The documentation doesn't state whether a gadget driver's > ->disconnect() callback will be invoked when usb_gadget_disconnect() > runs. Probably the UDC drivers' behavior has changed over the years. > > In any case, it's likely that various UDC drivers do

Should usb_gadget_disconnect() call driver's ->disconnect?

2018-08-07 Thread Alan Stern
Felipe: The documentation doesn't state whether a gadget driver's ->disconnect() callback will be invoked when usb_gadget_disconnect() runs. Probably the UDC drivers' behavior has changed over the years. In any case, it's likely that various UDC drivers do behave differently. My current feeli