Re: [PATCH] usb: move usb_calc_bus_time into common code

2016-02-22 Thread Doug Anderson
John, On Fri, Feb 19, 2016 at 6:55 PM, John Youn wrote: > On 2/19/2016 2:48 PM, Doug Anderson wrote: >> Hi, >> >> On Fri, Feb 19, 2016 at 1:52 PM, Alan Stern >> wrote: >>> On Fri, 19 Feb 2016, Arnd Bergmann wrote: >>> The dwc2 dual-role USB controller driver has started calling usb_ca

Re: [PATCH] usb: move usb_calc_bus_time into common code

2016-02-19 Thread John Youn
On 2/19/2016 2:48 PM, Doug Anderson wrote: > Hi, > > On Fri, Feb 19, 2016 at 1:52 PM, Alan Stern wrote: >> On Fri, 19 Feb 2016, Arnd Bergmann wrote: >> >>> The dwc2 dual-role USB controller driver has started calling >>> usb_calc_bus_time, and does so regardless of whether it is >>> being built a

Re: [PATCH] usb: move usb_calc_bus_time into common code

2016-02-19 Thread Doug Anderson
Hi, On Fri, Feb 19, 2016 at 1:52 PM, Alan Stern wrote: > On Fri, 19 Feb 2016, Arnd Bergmann wrote: > >> The dwc2 dual-role USB controller driver has started calling >> usb_calc_bus_time, and does so regardless of whether it is >> being built as a host controller or gadget. In case all > > Out of

Re: [PATCH] usb: move usb_calc_bus_time into common code

2016-02-19 Thread Alan Stern
On Fri, 19 Feb 2016, Arnd Bergmann wrote: > The dwc2 dual-role USB controller driver has started calling > usb_calc_bus_time, and does so regardless of whether it is > being built as a host controller or gadget. In case all Out of curiosity... Why does dwc2 need to calculate bus times when it is

[PATCH] usb: move usb_calc_bus_time into common code

2016-02-19 Thread Arnd Bergmann
The dwc2 dual-role USB controller driver has started calling usb_calc_bus_time, and does so regardless of whether it is being built as a host controller or gadget. In case all USB host support is disabled (CONFIG_USB=n), this now causes a link error: ERROR: "usb_calc_bus_time" [drivers/usb/dwc2/dw