Re: [PATCH] usb: chipidea: udc: don't touch DP when controller is in host mode

2016-08-15 Thread Peter Chen
om>; linux-usb@vger.kernel.org > > Subject: Re: [PATCH] usb: chipidea: udc: don't touch DP when controller is > > in host mode > > > > On Thu, Aug 11, 2016 at 06:52:45PM +0800, Li Jun wrote: > > > When the controller is configured to be dual role and it's in

RE: [PATCH] usb: chipidea: udc: don't touch DP when controller is in host mode

2016-08-12 Thread Jun Li
Hi, > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Friday, August 12, 2016 4:48 PM > To: Jun Li <jun...@nxp.com> > Cc: Peter Chen <peter.c...@nxp.com>; linux-usb@vger.kernel.org > Subject: Re: [PATCH] usb: chipidea: udc:

Re: [PATCH] usb: chipidea: udc: don't touch DP when controller is in host mode

2016-08-12 Thread Peter Chen
On Thu, Aug 11, 2016 at 06:52:45PM +0800, Li Jun wrote: > When the controller is configured to be dual role and it's in host mode, > if bind udc and gadgt driver, those gadget operations will do gadget > disconnect and finally pull down DP line, which will break host function. > > Signed-off-by:

[PATCH] usb: chipidea: udc: don't touch DP when controller is in host mode

2016-08-11 Thread Li Jun
When the controller is configured to be dual role and it's in host mode, if bind udc and gadgt driver, those gadget operations will do gadget disconnect and finally pull down DP line, which will break host function. Signed-off-by: Li Jun --- drivers/usb/chipidea/udc.c | 7