RE: [PATCH] usb: gadget: storage: Remove warning message

2019-05-08 Thread EJ Hsu
Thanks for the info. Will remove it in the V2. Regards, EJ -Original Message- From: Greg KH Sent: Wednesday, May 8, 2019 2:40 PM To: EJ Hsu Cc: ba...@kernel.org; linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: gadget: storage: Remove warning message On Wed, May 08, 2019 at 11:24:0

[V2] usb: gadget: storage: Remove warning message

2019-05-08 Thread EJ Hsu
This change is to fix below warning message in following scenario: usb_composite_setup_continue: Unexpected call When system tried to enter suspend, the fsg_disable() will be called to disable fsg driver and send a signal to fsg_main_thread. However, at this point, the fsg_main_thread has already

Re: [PATCH V2 2/8] phy: tegra: xusb: t210: add usb3 port fake support

2019-05-08 Thread Nagarjuna Kristam
On 25-04-2019 20:25, Thierry Reding wrote: > On Mon, Mar 11, 2019 at 04:41:50PM +0530, Nagarjuna Kristam wrote: >> On Tegra210, usb2 only otg/peripheral ports dont work in device mode. >> They need an assosciated usb3 port to work in device mode. Identify >> an unused usb3 port and assign it as

Re: [PATCH V2 3/8] phy: tegra: xusb: t210: add vbus override support

2019-05-08 Thread Nagarjuna Kristam
On 25-04-2019 20:34, Thierry Reding wrote: > On Mon, Mar 11, 2019 at 04:41:51PM +0530, Nagarjuna Kristam wrote: >> Tegra XUSB device control driver needs to control vbus override >> during its operations, add API for the support >> >> Signed-off-by: Nagarjuna Kristam >> --- >> drivers/phy/tegr

Re: [PATCH] usb: dwc3: move core validation to be after clks enable

2019-05-08 Thread Sriharsha Allenki
Hi Jun Li, On 5/8/2019 9:54 AM, Jun Li wrote: From: Jun Li Register access in core validation may hang before the bulk clks are enabled. Fixes: b873e2d0ea1e ("usb: dwc3: Do core validation early on probe") Signed-off-by: Jun Li --- drivers/usb/dwc3/core.c | 12 ++-- 1 file changed

RE: [PATCH] usb: dwc3: move core validation to be after clks enable

2019-05-08 Thread Jun Li
Hi Sriharsha, > -Original Message- > From: Sriharsha Allenki > Sent: 2019年5月8日 18:26 > To: Jun Li ; ba...@kernel.org; gre...@linuxfoundation.org > Cc: thi...@synopsys.com; linux-usb@vger.kernel.org; dl-linux-imx > > Subject: Re: [PATCH] usb: dwc3: move core validation to be after clks en

Re: [PATCH V2 4/8] dt-bindings: usb: Add NVIDIA Tegra XUSB device mode controller binding

2019-05-08 Thread Nagarjuna Kristam
On 03-05-2019 20:00, Thierry Reding wrote: > On Thu, Apr 25, 2019 at 05:14:01PM +0200, Thierry Reding wrote: >> On Mon, Mar 11, 2019 at 04:41:52PM +0530, Nagarjuna Kristam wrote: >>> Add device-tree binding documentation for the XUSB device mode controller >>> present on tegra210 SoC. This contr

[PATCH v2] usb: dwc3: move core validation to be after clks enable

2019-05-08 Thread Jun Li
From: Jun Li Register access in core validation may hang before the bulk clks are enabled. Fixes: b873e2d0ea1e ("usb: dwc3: Do core validation early on probe") Signed-off-by: Jun Li --- Change for v2: - Update ret to be -ENODEV in case dwc3_core_is_valid() fail. drivers/usb/dwc3/core.c | 13

Re: [V2] usb: gadget: storage: Remove warning message

2019-05-08 Thread Alan Stern
On Wed, 8 May 2019, EJ Hsu wrote: > This change is to fix below warning message in following scenario: > usb_composite_setup_continue: Unexpected call > > When system tried to enter suspend, the fsg_disable() will be called to > disable fsg driver and send a signal to fsg_main_thread. However, at

Re: [PATCH v2 1/1] usb: typec: tcpci: Clear the fault status register

2019-05-08 Thread Guenter Roeck
On Wed, May 08, 2019 at 07:48:43AM -0600, Angus Ainslie wrote: > Hi Guenter > > On 2019-05-07 23:18, Guenter Roeck wrote: > >On 5/7/19 7:49 PM, Angus Ainslie wrote: > >>On 2019-05-07 20:03, Guenter Roeck wrote: > >>>On 5/7/19 5:27 PM, Angus Ainslie (Purism) wrote: > If the fault status registe