Re: [PATCH 2/6] usb: core: TPL should apply for both OTG and EH

2014-08-22 Thread Peter Chen
On Mon, Aug 11, 2014 at 11:25:44AM +0530, Pratyush Anand wrote: > Hi Peter, > > On Thu, Aug 07, 2014 at 02:45:15PM +0800, Peter Chen wrote: > > According to On-The-Go and Embedded Host Supplement to the USB Revision > > 2.0 Specification, the targeted hosts (non-PC hosts) include both > > embedded

RE: [PATCH 2/6] usb: core: TPL should apply for both OTG and EH

2014-08-11 Thread Peter Chen
> > > > /** > > * usb_enumerate_device_otg - FIXME (usbcore-internal) @@ -2261,21 > > +2259,6 @@ static int usb_enumerate_device_otg(struct usb_device *udev) > > } > > } > > } > > - > > - if (!is_targeted(udev)) { > > - > > - /* Maybe it can ta

Re: [PATCH 2/6] usb: core: TPL should apply for both OTG and EH

2014-08-10 Thread Pratyush Anand
Hi Peter, On Thu, Aug 07, 2014 at 02:45:15PM +0800, Peter Chen wrote: > According to On-The-Go and Embedded Host Supplement to the USB Revision > 2.0 Specification, the targeted hosts (non-PC hosts) include both > embedded hosts and otg, and each targeted host product defines the > set of supporte

[PATCH 2/6] usb: core: TPL should apply for both OTG and EH

2014-08-06 Thread Peter Chen
According to On-The-Go and Embedded Host Supplement to the USB Revision 2.0 Specification, the targeted hosts (non-PC hosts) include both embedded hosts and otg, and each targeted host product defines the set of supported peripherals on a TPL (Targeted Peripheral List). So, TPL should apply for bot