[PATCH 5/6] usb: at91_ude: switch pm ops

2012-10-07 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can detect when we enter in slow_clock mode and drop at91_suspend_entering_slow_clock Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: linux...@vger.kernel.org Cc: linux-usb@vger.kernel.org --- drivers/usb/gadget/at91_udc.c | 34 +++---

[PATCH] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-07 Thread Constantine Shulyupin
From: Constantine Shulyupin Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open and finally commit 52a7499 Revert "USB: usb-skeleton.c: fix open/disconnect race" introdu

[PATCH 4/6] usb: ohci-at91: switch pm ops

2012-10-07 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can detect when we enter in slow_clock mode and drop at91_suspend_entering_slow_clock Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: linux...@vger.kernel.org Cc: linux-usb@vger.kernel.org --- drivers/usb/host/ohci-at91.c | 38 --

[PATCH] usb: musb: remove duplicated include from musb_dsps.c

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/usb/musb/musb_dsps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb

Re: [RFT] usb: Don't enable LPM if the exit latency is zero.

2012-10-07 Thread Gabor Takacs
Hi Sarah, I have successfully applied the two patches you sent. The lsusb -v output is below. I am not sure if this is what I should see, but it probably tells you what you need to know. The disk works, the thing I do not know is how to check whether it properly goes into a low power state. Best

Re: [PATCH 1/2] usb: Missing dma_mask in uhci-platform.c when probed from device-tree

2012-10-07 Thread Alan Stern
On Sun, 7 Oct 2012, Tony Prisk wrote: > Device-tree probed devices don't get a dev.dma_mask set. This patch > sets a default 32bit mask on platforms using devicetree. > > Without this patch, arch-vt8500 cannot detect uhci attached devices. > > Signed-off-by: Tony Prisk This patch has a small p

Re: [PATCH 0/2] usb: vt8500: Fixups for 3.7

2012-10-07 Thread Alan Stern
On Sun, 7 Oct 2012, Tony Prisk wrote: > When probed from devicetree, dma_mask is not set but is required by > the usb subsystem. These patches add a default dma_mask when not > specified. > > Tony Prisk (2): > usb: Missing dma_mask in uhci-platform.c when probed from device-tree > usb: Missin

Re: [PATCH 0/2] usb: vt8500: Fixups for 3.7

2012-10-07 Thread Tony Prisk
On Sun, 2012-10-07 at 11:44 -0400, Alan Stern wrote: > On Sun, 7 Oct 2012, Tony Prisk wrote: > > > When probed from devicetree, dma_mask is not set but is required by > > the usb subsystem. These patches add a default dma_mask when not > > specified. > > > > Tony Prisk (2): > > usb: Missing dma

Re: [PATCH 1/2] usb: Missing dma_mask in uhci-platform.c when probed from device-tree

2012-10-07 Thread Tony Prisk
On Sun, 2012-10-07 at 11:41 -0400, Alan Stern wrote: > On Sun, 7 Oct 2012, Tony Prisk wrote: > > > Device-tree probed devices don't get a dev.dma_mask set. This patch > > sets a default 32bit mask on platforms using devicetree. > > > > Without this patch, arch-vt8500 cannot detect uhci attached d

Re: [PATCH 1/2] usb: Missing dma_mask in uhci-platform.c when probed from device-tree

2012-10-07 Thread Sergei Shtylyov
Hello. On 07-10-2012 3:09, Tony Prisk wrote: Device-tree probed devices don't get a dev.dma_mask set. This patch sets a default 32bit mask on platforms using devicetree. Without this patch, arch-vt8500 cannot detect uhci attached devices. Signed-off-by: Tony Prisk --- drivers/usb/host/uhci-

Re: usb 3.0 hard drive doesn't work

2012-10-07 Thread Daniel Mack
(cc linux-usb) On 07.10.2012 10:48, 王思源 wrote: > hi, > i have a usb 3.0 hard drive and a laptop with usb 3.0 port. > when the hard drive is connected to the usb 3.0 port, the drive could > not be found. > the dmesg output is listed below. > additinal info: > 1) the usb 3.0 hard drive can be found

Re: fl1000 usb3 controller vanished

2012-10-07 Thread Rafael J. Wysocki
On Monday 08 of October 2012 06:09:23 Jan-Simon Möller wrote: > Hi Rafael, > > I'll try asap (travelling) and report. Stay tuned. > > Problem: The controller does not enumerate anymore! So even if I revert these > commits, how should I test... > Alan? Sarah? Presumably it will start to enumerat

Re: fl1000 usb3 controller vanished

2012-10-07 Thread Jan-Simon Möller
Hi all, > > I'll try asap (travelling) and report. Stay tuned. > > > > Problem: The controller does not enumerate anymore! So even if I revert > > these commits, how should I test... Alan? Sarah? > > Presumably it will start to enumerate again. :-) Ok, thanks. Will report once I'm back. Thank

[PATCH] usb: otg: isp1301_omap: fix potential NULL pointer dereference

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/usb/otg/isp1301_omap.c | 32 +++- 1 file changed, 23 insertions(+), 9

Re: [PATCH 0/2] usb: vt8500: Fixups for 3.7

2012-10-07 Thread Alan Stern
On Mon, 8 Oct 2012, Tony Prisk wrote: > > How about instead of changing ehci-vt8500.c, remove it completely and > > use ehci-platform instead? The changes required should be minimal, > > especially after ehci_update_device() get moved into ehci-lpm.c and > > added to the hc_driver structure fo

Re: [PATCH] USB: ohci-s3c2410: use devm_ functions

2012-10-07 Thread Jingoo Han
On Friday, October 05, 2012 11:35 PM Alan Stern wrote > > On Fri, 5 Oct 2012, Jingoo Han wrote: > > > The devm_ functions allocate memory that is released when a driver > > detaches. This makes the code smaller and a bit simpler. > > > > Signed-off-by: Jingoo Han > > > - hcd->regs = ioremap(h

[PATCH V2] USB: ohci-s3c2410: use devm_ functions

2012-10-07 Thread Jingoo Han
The devm_ functions allocate memory that is released when a driver detaches. This makes the code smaller and a bit simpler. Signed-off-by: Jingoo Han --- Changes since v1: - usb devm_request_and_ioremap() to shrink more, according to Alan Stern's comment. drivers/usb/host/ohci-s3c2410.c | 32

Re: [PATCH 0/2] usb: vt8500: Fixups for 3.7

2012-10-07 Thread Tony Prisk
On Sun, 2012-10-07 at 21:47 -0400, Alan Stern wrote: > On Mon, 8 Oct 2012, Tony Prisk wrote: > > > > How about instead of changing ehci-vt8500.c, remove it completely and > > > use ehci-platform instead? The changes required should be minimal, > > > especially after ehci_update_device() get mov

Re: [PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-07 Thread kishon
Hi, On Saturday 06 October 2012 04:00 AM, Sergei Shtylyov wrote: Hello. On 05-10-2012 12:07, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-07 Thread Felipe Balbi
On Fri, Oct 05, 2012 at 01:58:21AM +0300, Dmytro Milinevskyy wrote: > > Signed-off-by: Dmytro Milinevskyy missing commit log. NAK. Just resend with a proper commit log and I can apply. -- balbi signature.asc Description: Digital signature