[PATCH 6/6] usb: dwc2: Force mode optimizations

2018-02-16 Thread Grigor Tovmasyan
From: Vardan Mikayelyan If the dr_mode is USB_DR_MODE_OTG, forcing the mode is needed during driver probe to get the host and device specific HW parameters. Then we clear the force mode bits so that the core operates in OTG mode. The force mode bits should not be touched at any other time during

Re: [PATCH 6/6] usb: dwc2: Force mode optimizations

2018-02-16 Thread Grigor Tovmasyan
Hi Balbi, On 2/16/2018 11:09, Felipe Balbi wrote: > > Hi, > > Grigor Tovmasyan writes: > >> Hi Balbi, >> >> I rebased this commit to your testing/next (see below). > > Are you sure you did? Yes. I checked my version of your testing/next, it also was @08900d3304bb787164e79a8942112208917d1dd

Re: [PATCH 6/6] usb: dwc2: Force mode optimizations

2018-02-15 Thread Felipe Balbi
Hi, Grigor Tovmasyan writes: > Hi Balbi, > > I rebased this commit to your testing/next (see below). Are you sure you did? checking file drivers/usb/dwc2/core.c Hunk #1 FAILED at 367. Hunk #2 FAILED at 391. Hunk #3 FAILED at 403. Hunk #4 FAILED at 425. Hunk #5 FAILED at 441. Hunk #6 FAILED at

Re: [PATCH 6/6] usb: dwc2: Force mode optimizations

2018-02-15 Thread Grigor Tovmasyan
Hi Balbi, I rebased this commit to your testing/next (see below). Please skip 05/06 patch in this series, it was already applied via "[PATCH v2 00/49] usb: dwc2: fixes, enhancements and new features " patch series. Please ignore "[PATCH v2 00/49] usb: dwc2: fixes, enhancements and new feature

[PATCH 6/6] usb: dwc2: Force mode optimizations

2018-01-16 Thread Grigor Tovmasyan
From: Vardan Mikayelyan If the dr_mode is USB_DR_MODE_OTG, forcing the mode is needed during driver probe to get the host and device specific HW parameters. Then we clear the force mode bits so that the core operates in OTG mode. The force mode bits should not be touched at any other time during