Re: [PATCH] usb: dwc2: do not override forced dr_mode in gadget setup

2016-03-30 Thread John Youn
On 3/30/2016 8:08 AM, Przemek Rudy wrote: > On 03/30/2016 12:15 PM, Felipe Balbi wrote: >> John Youn writes: >>> [ text/plain ] >>> On 3/16/2016 3:10 PM, Przemek Rudy wrote: The host/device mode set with dr_mode should be kept all the time, not being changed to OTG in gadget setup (by ov

Re: [PATCH] usb: dwc2: do not override forced dr_mode in gadget setup

2016-03-30 Thread Przemek Rudy
On 03/30/2016 12:15 PM, Felipe Balbi wrote: > John Youn writes: >> [ text/plain ] >> On 3/16/2016 3:10 PM, Przemek Rudy wrote: >>> The host/device mode set with dr_mode should be kept all the time, >>> not being changed to OTG in gadget setup (by overriding CFGUSB_FORCEDEVMODE >>> and CFGUSB_FORCE

Re: [PATCH] usb: dwc2: do not override forced dr_mode in gadget setup

2016-03-30 Thread Felipe Balbi
John Youn writes: > [ text/plain ] > On 3/16/2016 3:10 PM, Przemek Rudy wrote: >> The host/device mode set with dr_mode should be kept all the time, >> not being changed to OTG in gadget setup (by overriding CFGUSB_FORCEDEVMODE >> and CFGUSB_FORCEHOSTMODE bits). >> >> Signed-off-by: Przemek Rudy

Re: [PATCH] usb: dwc2: do not override forced dr_mode in gadget setup

2016-03-24 Thread John Youn
On 3/16/2016 3:10 PM, Przemek Rudy wrote: > The host/device mode set with dr_mode should be kept all the time, > not being changed to OTG in gadget setup (by overriding CFGUSB_FORCEDEVMODE > and CFGUSB_FORCEHOSTMODE bits). > > Signed-off-by: Przemek Rudy > --- > drivers/usb/dwc2/gadget.c | 23 ++

[PATCH] usb: dwc2: do not override forced dr_mode in gadget setup

2016-03-19 Thread Przemek Rudy
The host/device mode set with dr_mode should be kept all the time, not being changed to OTG in gadget setup (by overriding CFGUSB_FORCEDEVMODE and CFGUSB_FORCEHOSTMODE bits). Signed-off-by: Przemek Rudy --- drivers/usb/dwc2/gadget.c | 23 ++- 1 file changed, 18 insertions(+),