Re: [PATCH v2 2/2] usb: dwc3: Wait for control tranfer completed when stopping gadget

2016-09-17 Thread Baolin Wang
Hi Felipe, On 9 September 2016 at 19:03, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c >> index 057739d..22787b6 100644 >> --- a/drivers/usb/dwc3/core.c >> +++ b/drivers/usb/dwc3/core.c >> @@ -999,6 +999,7 @@ static int dwc3

Re: [PATCH v2 1/2] usb: dwc3: gadget: Add disconnect checking when changing function dynamically

2016-09-17 Thread Baolin Wang
Hi Felipe, Sorry for late reply due to my holiday. On 9 September 2016 at 18:47, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> When system has stpped the gadget, we should avoid queuing any requests >> which will cause tranfer failed. Thus adding some disconnect checking to >> avoid th

Re: [PATCH] mmc: rtsx_usb_sdmmc: Handle runtime PM while changing led

2016-09-17 Thread Alan Stern
On Sat, 17 Sep 2016, Ulf Hansson wrote: > Each access of the parent device (usb device) needs to be done in runtime > resumed state. Currently this isn't case while changing the leds, so let's > add pm_runtime_get_sync() and pm_runtime_put() around these calls. > > Signed-off-by: Ulf Hansson > -

Re: [PATCH 1/1] ARM: imx53: Add binding to disable USB 60Mhz clock

2016-09-17 Thread Peter Chen
This patch is for USB driver, the subject should like: usb: chipidea: imx: xxx It seems your cc list format is wrong, I can only send you only even choosing "reply all". Reply-To: In-Reply-To: <1474023213-15790-1-git-send-email-fabien.lahoud...@collabora.co.uk> On Fri, Sep 16, 2016 at 12:53:33

Re: xHCI problem? [was Re: Erratic USB device behavior and device loss]

2016-09-17 Thread Alan Stern
On Sat, 17 Sep 2016, Ritesh Raj Sarraf wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hello Alan, > > > On Fri, 2016-09-16 at 17:40 -0400, Alan Stern wrote: > > We're still getting runtime suspends, but now at 2-second intervals.    > > This is partly because the driver isn't ca

SH7760 OHCI

2016-09-17 Thread Martin Townsend
Hi, A while back I was having problems with get the USB Host driver working for the SH7760. I have fixed this problem, it was down to the roothub.a register. So now the OHCI HCD tries to communicate with the host controller on the SH7760 but now there are memory issues. The SH7760 has 8KB of sh

Re: xHCI problem? [was Re: Erratic USB device behavior and device loss]

2016-09-17 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello Alan, On Fri, 2016-09-16 at 17:40 -0400, Alan Stern wrote: > We're still getting runtime suspends, but now at 2-second intervals.    > This is partly because the driver isn't calling > pm_runtime_mark_last_busy(), but there may be more to it.

Re: [PATCH] musb: Export musb_root_disconnect for use in modules

2016-09-17 Thread Greg Kroah-Hartman
On Sat, Sep 17, 2016 at 12:12:04PM +0200, Hans de Goede wrote: > Hi, > > On 16-09-16 17:56, Greg Kroah-Hartman wrote: > > On Fri, Sep 16, 2016 at 04:53:17PM +0100, Mark Brown wrote: > > > On Fri, Sep 16, 2016 at 05:47:01PM +0200, Greg Kroah-Hartman wrote: > > > > On Fri, Sep 16, 2016 at 04:59:36PM

[PATCH] mmc: rtsx_usb_sdmmc: Handle runtime PM while changing led

2016-09-17 Thread Ulf Hansson
Each access of the parent device (usb device) needs to be done in runtime resumed state. Currently this isn't case while changing the leds, so let's add pm_runtime_get_sync() and pm_runtime_put() around these calls. Signed-off-by: Ulf Hansson --- While discussing an issue[1] related to runtime P

Re: [PATCH] musb: Export musb_root_disconnect for use in modules

2016-09-17 Thread Hans de Goede
Hi, On 16-09-16 17:56, Greg Kroah-Hartman wrote: On Fri, Sep 16, 2016 at 04:53:17PM +0100, Mark Brown wrote: On Fri, Sep 16, 2016 at 05:47:01PM +0200, Greg Kroah-Hartman wrote: On Fri, Sep 16, 2016 at 04:59:36PM +0200, Hans de Goede wrote: +EXPORT_SYMBOL_GPL(musb_root_disconnect); Does t

[PATCH v2] musb: Export musb_root_disconnect for use in modules

2016-09-17 Thread Hans de Goede
Export musb_root_disconnect for use in modules, so that musb glue code build as module can use it. This fixes the buildbot errors for -next in arm64-allmodconfig and arm-allmodconfig. Fixes: 7cba17ec9adc8cf ("musb: sunxi: Add support for platform_set_mode") Signed-off-by: Hans de Goede --- Chang

Re: [PATCH 0/4] staging: vt6655: Fix checkpatch issues

2016-09-17 Thread Greg KH
On Sat, Sep 17, 2016 at 03:41:28AM +0530, Namrata A Shettar wrote: > Fix multiple checkpatch issues. > > > Namrata A Shettar (4): > staging: vt6655: Replace NULL comparison > staging: vt6655: Replace NULL comparison > staging: vt6655: Break multiple assignments > staging: vt6655: Break mu

Re: [PATCH 3/3] usb: gadget: default U1/U2 exit latencies to maximum

2016-09-17 Thread Felipe Balbi
Hi, John Youn writes: [...] module parameters also feel like a big, big hammer to hit a tiny nail head. I don't want to add any module parameters for stuff like this. And since you've been pushing for them for a while, it only shows that you're only concerned about your use