Re: [PATCH 1/2] usb: gadget: core: introduce ->udc_set_speed() method

2017-06-06 Thread Felipe Balbi
Hi, Alan Stern writes: >> Alan Stern writes: >> > On Tue, 6 Jun 2017, Felipe Balbi wrote: >> > >> >> Sometimes, the gadget driver we want to run has max_speed lower than >> >> what the UDC supports. In such situations, UDC might want to

Re: [PATCH 1/2] usb: gadget: core: introduce ->udc_set_speed() method

2017-06-06 Thread Alan Stern
On Tue, 6 Jun 2017, Felipe Balbi wrote: > Hi, > > Alan Stern writes: > > On Tue, 6 Jun 2017, Felipe Balbi wrote: > > > >> Sometimes, the gadget driver we want to run has max_speed lower than > >> what the UDC supports. In such situations, UDC might want to make sure >

Re: [PATCH 1/2] usb: gadget: core: introduce ->udc_set_speed() method

2017-06-06 Thread Felipe Balbi
Hi, Alan Stern writes: > On Tue, 6 Jun 2017, Felipe Balbi wrote: > >> Sometimes, the gadget driver we want to run has max_speed lower than >> what the UDC supports. In such situations, UDC might want to make sure >> we don't try to connect on speeds not supported by

Re: [PATCH 1/2] usb: gadget: core: introduce ->udc_set_speed() method

2017-06-06 Thread Alan Stern
On Tue, 6 Jun 2017, Felipe Balbi wrote: > Sometimes, the gadget driver we want to run has max_speed lower than > what the UDC supports. In such situations, UDC might want to make sure > we don't try to connect on speeds not supported by the gadget > driver (e.g. super-speed capable dwc3 with

[PATCH 1/2] usb: gadget: core: introduce ->udc_set_speed() method

2017-06-06 Thread Felipe Balbi
Sometimes, the gadget driver we want to run has max_speed lower than what the UDC supports. In such situations, UDC might want to make sure we don't try to connect on speeds not supported by the gadget driver (e.g. super-speed capable dwc3 with high-speed capable g_midi) because that will just