Re: Fwd: Re: [alsa-devel] no reset_resume for driver snd-usb-audio for logitech headset H600

2014-01-13 Thread Takashi Iwai
At Sat, 11 Jan 2014 11:08:39 +0100, wrote: > > FWD: > > Any news to the snd-usb-audio issue? > > Thanks, Bernhard > > Old Message: > - > I have tested the patch with kernel 3.12.0 with suspend and hibernate, and > the problem is gone. > > No messages "no reset_resume for driver s

Re: usb3 hdd docking station doesn't work with recent kernels

2014-01-13 Thread Oliver Neukum
On Sun, 2014-01-12 at 14:12 +0400, Sergey Galanov wrote: > Hi. > My hdd docking station (AgeStar 3UBT with usb3 support) stopped > working after upgrade to linux 3.12.3. It worked fine in 3.12.0 and > before. I can't point to more specific version because it's hard to > find old packages for my dis

Re: [RFC 2/2] usb: core: allow a reference device for new_id

2014-01-13 Thread Wolfram Sang
> Yes, it can, if you look at the comment in usb_match_id(), we have to > check for this there. Geez, /me blind... Will send a patch. Thanks! signature.asc Description: Digital signature

[PATCH] usb: core: check for valid id_table when using the RefId feature

2014-01-13 Thread Wolfram Sang
When implementing the RefId feature, it was missed that id_tables can be NULL under special circumstances. Bail out in that case. Signed-off-by: Wolfram Sang --- drivers/usb/core/driver.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c

RE: PROBLEM: usbnet / ax88179_178a: Panic in usb_hcd_map_urb_for_dma

2014-01-13 Thread David Laight
From: Bjørn Mork > Thomas Kear writes: > > > On Sat, Jan 11, 2014 at 11:09 AM, Bjrn Mork wrote: > >> But looking at the code I think I found and obvious miss in the SG list > >> initialisation. I'll post a proposed fix for that. Would be good if > >> someone was able to test it. > > > > I've b

Re: PROBLEM: usbnet / ax88179_178a: Panic in usb_hcd_map_urb_for_dma

2014-01-13 Thread Bjørn Mork
David Laight writes: > The patch you submitted is wrong. > Whoever wrote the sg interface was on crack. > The 'last' marker needs moving as well. I'm afraid I don't understand what you meant by this. sg_init_table() set the 'last' marker. AFAICS, you don't need to change it unless you want to

RE: PROBLEM: usbnet / ax88179_178a: Panic in usb_hcd_map_urb_for_dma

2014-01-13 Thread David Laight
From: Bjørn Mork > David Laight writes: > > > The patch you submitted is wrong. > > Whoever wrote the sg interface was on crack. > > The 'last' marker needs moving as well. > > I'm afraid I don't understand what you meant by this. > > sg_init_table() set the 'last' marker. AFAICS, you don't ne

Re: PROBLEM: usbnet / ax88179_178a: Panic in usb_hcd_map_urb_for_dma

2014-01-13 Thread Bjørn Mork
David Laight writes: > From: Bjørn Mork >> David Laight writes: >> >> > The patch you submitted is wrong. >> > Whoever wrote the sg interface was on crack. >> > The 'last' marker needs moving as well. >> >> I'm afraid I don't understand what you meant by this. >> >> sg_init_table() set the 'la

[PATCH 0/3] Fixes for FuntionFS

2014-01-13 Thread Andrzej Pietrasiewicz
This is a short series of bugfixes for FunctionFS. The first patch fixes the problem found by Dan Carpenter (or his automatic tool?) - if ffs_dev is checked for being NULL it should be done so consistently throughout the ffs_release_dev(). ffs_alloc_dev() and ffs_free_dev() are used only in f_fs.

[PATCH 3/3] usb: gadget: FunctionFS: use consistent naming with regard to ffs_lock

2014-01-13 Thread Andrzej Pietrasiewicz
Consistently prefix function name with underscore if the function has to be called with ffs_lock taken. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/usb/gadget/f_

[PATCH 2/3] usb: gadget: FunctionFS: staticize functions used only in f_fs.c

2014-01-13 Thread Andrzej Pietrasiewicz
ffs_alloc_dev and ffs_free_dev are used only in f_fs.c, so make them static. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c |6 -- drivers/usb/gadget/u_fs.h |2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/f_fs.c b/drivers/u

[PATCH 1/3] usb: gadget: FunctionFS: dereference ffs_dev conditionally

2014-01-13 Thread Andrzej Pietrasiewicz
ffs_dev->ffs_release_dev_callback should be accessed only if ffs_dev is not NULL. Additionally whitespace error correction. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/f_

RE: PROBLEM: usbnet / ax88179_178a: Panic in usb_hcd_map_urb_for_dma

2014-01-13 Thread David Laight
From: Bjørn Mork [mailto:bj...@mork.no] > David Laight writes: > > From: Bjørn Mork > >> David Laight writes: > >> > >> > The patch you submitted is wrong. > >> > Whoever wrote the sg interface was on crack. > >> > The 'last' marker needs moving as well. > >> > >> I'm afraid I don't understand wh

[RFC 01/10] xhci: Use command structures when calling xhci_configure_endpoint

2014-01-13 Thread Mathias Nyman
To create a global command queue we need to fill a command structure for each entry on the command ring. We start by requiring xhci_configure_endpoint() to be called with a proper command structure. Functions xhci_check_maxpacket and xhci_check_bandwith that called xhci_configure_endpoint without

[RFC 04/10] xhci: use command structures for xhci_queue_stop_endpoint()

2014-01-13 Thread Mathias Nyman
Prepare for the global command ring by using command structures internally in functions calling xhci_queue_stop_endpoint() Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-hub.c | 14 -- drivers/usb/host/xhci.c | 3 +++ 2 files changed, 15 insertions(+), 2 deletions(-) di

[RFC 09/10] xhci: Use completion and status in global command queue

2014-01-13 Thread Mathias Nyman
Remove the per-device command list and handle_cmd_in_cmd_wait_list() and use the completion and status variables found in the command structure in the global command list. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-hub.c | 11 -- drivers/usb/host/xhci-mem.c | 1 - drivers/usb/

[RFC 10/10] xhci: rework command timeout and cancellation,

2014-01-13 Thread Mathias Nyman
Use one timer to control command timeout. start/kick the timer every time a command is completed and a new command is waiting, or a new command is added to a empty list. If the timer runs out, then tag the current command as "aborted", and start the xhci command abortion process. Previously each

[RFC 08/10] xhci: Add a global command queue

2014-01-13 Thread Mathias Nyman
Create a list to store command structures, add a strucure to it every time a command is submitted, and remove it from the list once we get a command completion event matching the command. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mem.c | 8 drivers/usb/host/xhci-ring.c |

[RFC 07/10] xhci: Use command structured when queuing commands

2014-01-13 Thread Mathias Nyman
Require each queued command to have a command structure. We store the command trb pointer in the structure when queuing it, making the find_next_enqueue() function obsolete. Don't free the command strucures right away after sending the commands, We will free the commands when we receive a "command

[RFC 06/10] xhci: use command structures for xhci_queue_reset_ep()

2014-01-13 Thread Mathias Nyman
Prepare for the global command ring by using command structures internally in functions calling xhci_queue_reset_ep() Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-ring.c | 5 + drivers/usb/host/xhci.c | 6 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/usb/host

[RFC 00/10] xhci: re-work command queue management

2014-01-13 Thread Mathias Nyman
This is an attempt to re-work and solve the issues in xhci command queue management that Sarah has descibed earlier: Right now, the command management in the xHCI driver is rather ad-hock. Different parts of the driver all submit commands, including interrupt handling routines, functions calle

[RFC 03/10] xhci: use command structures for xhci_queue_slot_control()

2014-01-13 Thread Mathias Nyman
Preparing for the global command queue by changing functions calling xhci_queue_slot_control() to internally use command structures Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci.c | 34 +- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/dri

[RFC 05/10] xhci: use command structure for xhci_queue_new_dequeue_state()

2014-01-13 Thread Mathias Nyman
Prepare for the global command ring by using command structures internally in functions calling xhci_queue_new_dequeue_state() Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-ring.c | 3 +++ drivers/usb/host/xhci.c | 6 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/us

[RFC 02/10] xhci: use a command structure internally in xhci_address_device()

2014-01-13 Thread Mathias Nyman
Preparing for the global command queue by using command strucure in xhci_address_device Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 5e6

Re: [PATCH 1/3] usb: gadget: FunctionFS: dereference ffs_dev conditionally

2014-01-13 Thread Sergei Shtylyov
Hello. On 13-01-2014 17:26, Andrzej Pietrasiewicz wrote: ffs_dev->ffs_release_dev_callback should be accessed only if ffs_dev is not NULL. Additionally whitespace error correction. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c | 11 ++- 1 files changed,

[PATCH v2 3/4] usb: gadget: FunctionFS: staticize functions used only in f_fs.c

2014-01-13 Thread Andrzej Pietrasiewicz
ffs_alloc_dev and ffs_free_dev are used only in f_fs.c, so make them static. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c |6 -- drivers/usb/gadget/u_fs.h |2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/f_fs.c b/drivers/u

[PATCH v2 4/4] usb: gadget: FunctionFS: use consistent naming with regard to ffs_lock

2014-01-13 Thread Andrzej Pietrasiewicz
Consistently prefix function name with underscore if the function has to be called with ffs_lock taken. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/usb/gadget/f_

[PATCH v2 0/4] Fixes for FuntionFS

2014-01-13 Thread Andrzej Pietrasiewicz
This is a short series of bugfixes for FunctionFS. The first patch fixes the problem found by Dan Carpenter (or his automatic tool?) - if ffs_dev is checked for being NULL it should be done so consistently throughout the ffs_release_dev(). The second patch is a code style cleanup. ffs_alloc_dev(

[PATCH v2 1/4] usb: gadget: FunctionFS: dereference ffs_dev conditionally

2014-01-13 Thread Andrzej Pietrasiewicz
ffs_dev->ffs_release_dev_callback should be accessed only if ffs_dev is not NULL. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index 306a2b

[PATCH v2 2/4] usb: gadget: code cleanup

2014-01-13 Thread Andrzej Pietrasiewicz
Remove trailing whitespace Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/f_fs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index 78333f0..f0c657d 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/driver

Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Hans de Goede
Hi, On 01/12/2014 02:04 PM, Tomasz Figa wrote: Hi, [Cc'ing DT maintainers directly] Alan Stern Wrote: I prefer the -generic option, although generic- is equally fine - Having said that, I don't really care if it's called mmio either (although this does seem less 'descriptive'). I can d

Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Alan Stern
On Mon, 13 Jan 2014, Hans de Goede wrote: > I agree that usb-Xhci would be the best compatible strings to use. > > The problem with usb-ehci is that there already is a ppc specific driver > binding to that > compatible string, doing various ppc specific controller initialization. > > Thinking m

[PATCH] xhci: fix resume issues on Renesas chips

2014-01-13 Thread Don Zickus
Some co-workers of mine bought Samsung laptops that had mostly usb3 ports. Those ports did not resume correctly (the driver would timeout communicating and fail). This led to frustration as suspend/resume is a common use for laptops. Poking around, I applied the reset on resume quirk to this chip

Re: [PATCH v2 2/4] usb: gadget: code cleanup

2014-01-13 Thread Michal Nazarewicz
On Mon, Jan 13 2014, Andrzej Pietrasiewicz wrote: > Remove trailing whitespace > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Michal Nazarewicz > --- > drivers/usb/gadget/f_fs.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/gadget/f_fs.c b/drive

Re: [PATCH v2 1/4] usb: gadget: FunctionFS: dereference ffs_dev conditionally

2014-01-13 Thread Michal Nazarewicz
On Mon, Jan 13 2014, Andrzej Pietrasiewicz wrote: > ffs_dev->ffs_release_dev_callback should be accessed only if ffs_dev > is not NULL. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Michal Nazarewicz > --- > drivers/usb/gadget/f_fs.c |9 + > 1 files changed, 5 insertions(+), 4

Re: [PATCH v2 4/4] usb: gadget: FunctionFS: use consistent naming with regard to ffs_lock

2014-01-13 Thread Michal Nazarewicz
On Mon, Jan 13 2014, Andrzej Pietrasiewicz wrote: > Consistently prefix function name with underscore if the function has to > be called with ffs_lock taken. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Michal Nazarewicz > --- > drivers/usb/gadget/f_fs.c | 30 +++---

Re: [PATCH v2 3/4] usb: gadget: FunctionFS: staticize functions used only in f_fs.c

2014-01-13 Thread Michal Nazarewicz
On Mon, Jan 13 2014, Andrzej Pietrasiewicz wrote: > ffs_alloc_dev and ffs_free_dev are used only in f_fs.c, > so make them static. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Michal Nazarewicz > --- > drivers/usb/gadget/f_fs.c |6 -- > drivers/usb/gadget/u_fs.h |2 -- > 2 fi

RE: [RFC 00/10] xhci: re-work command queue management

2014-01-13 Thread David Laight
From: Mathias Nyman > This is an attempt to re-work and solve the issues in xhci command > queue management that Sarah has descibed earlier: > > Right now, the command management in the xHCI driver is rather ad-hock. > Different parts of the driver all submit commands, including interrupt > handli

Re: [PATCH v3 00/10] Just the essential port power control fixes for 3.14

2014-01-13 Thread Sarah Sharp
On Tue, Jan 07, 2014 at 12:29:28PM -0800, Dan Williams wrote: > Alan, Sarah, > > This revision boils down the port power control fixes to the > bare minimum to get the implementation functional and reliable. > Data structure changes are constrained to struct usb_port and > gone are the clumsier at

Re: [PATCH v3 00/10] Just the essential port power control fixes for 3.14

2014-01-13 Thread Dan Williams
On Mon, Jan 13, 2014 at 11:01 AM, Sarah Sharp wrote: > On Tue, Jan 07, 2014 at 12:29:28PM -0800, Dan Williams wrote: >> Alan, Sarah, >> >> This revision boils down the port power control fixes to the >> bare minimum to get the implementation functional and reliable. >> Data structure changes are c

Re: [PATCH net-next 3/3] r8152: add supporting the vendor mode only

2014-01-13 Thread David Miller
From: Hayes Wang Date: Thu, 9 Jan 2014 14:50:32 +0800 > Remove the limitation that the ecm and r8152 drivers couldn't coexist. > Besides, add the feature to support the vendor mode only. This let > someone who doesn't want to use ecm driver easy to use the vendor > driver without creating the ude

EG20T USB Gadget Performance

2014-01-13 Thread Alan Ott
Hi all, I have an EG20T-based board and have some issues with performance on the USB device interface. I made a libusb test program (using the async interface)[0] to read data from the EG20T's USB device port which has the gadget zero source/sink function bound. In theory, one would hope thi

Re: [PATCH 1/2] usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs

2014-01-13 Thread Uwe Kleine-König
On Sat, Jan 11, 2014 at 06:01:48PM +0400, Alexander Shiyan wrote: > Суббота, 11 января 2014, 13:55 +01:00 от Uwe Kleine-König > : > > On Mon, Nov 11, 2013 at 11:09:16AM +0400, Alexander Shiyan wrote: > > > Hello. > > > > > > > On Sunday, November 10, 2013 03:18 PM, Alexander Shiyan wrote: >

[PATCH v3] Move DWC2 driver out of staging

2014-01-13 Thread Paul Zimmerman
The DWC2 driver should now be in good enough shape to move out of staging. I have stress tested it overnight on RPI running mass storage and Ethernet transfers in parallel, and for several days on our proprietary PCI-based platform. Signed-off-by: Paul Zimmerman --- Greg, I believe I have addres

Re: [PATCH v3 10/10] usb: documentation for usb port power off mechanisms

2014-01-13 Thread Sarah Sharp
A couple comments below. On Tue, Jan 07, 2014 at 12:30:21PM -0800, Dan Williams wrote: > From: Lan Tianyu > > describe the mechanisms for controlling port power policy and > discovering the port power state. > > Cc: Oliver Neukum > Signed-off-by: Lan Tianyu > Signed-off-by: Sarah Sharp I th

Re: EG20T USB Gadget Performance

2014-01-13 Thread Alan Stern
On Mon, 13 Jan 2014, Alan Ott wrote: > Hi all, > > I have an EG20T-based board and have some issues with performance on the > USB device interface. > > I made a libusb test program (using the async interface)[0] to read data > from the EG20T's USB device port which has the gadget zero source/s

[PATCH v4] Move DWC2 driver out of staging

2014-01-13 Thread Paul Zimmerman
The DWC2 driver should now be in good enough shape to move out of staging. I have stress tested it overnight on RPI running mass storage and Ethernet transfers in parallel, and for several days on our proprietary PCI-based platform. Signed-off-by: Paul Zimmerman --- v4: Also change directory path

Re: [PATCH v4] Move DWC2 driver out of staging

2014-01-13 Thread Greg KH
On Mon, Jan 13, 2014 at 01:50:09PM -0800, Paul Zimmerman wrote: > The DWC2 driver should now be in good enough shape to move out of > staging. I have stress tested it overnight on RPI running mass > storage and Ethernet transfers in parallel, and for several days > on our proprietary PCI-based plat

RE: [PATCH v4] Move DWC2 driver out of staging

2014-01-13 Thread Paul Zimmerman
> From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Monday, January 13, 2014 2:04 PM > > On Mon, Jan 13, 2014 at 01:50:09PM -0800, Paul Zimmerman wrote: >> The DWC2 driver should now be in good enough shape to move out of >> staging. I have stress tested it overnight on RPI running mass >>

Re: EG20T USB Gadget Performance

2014-01-13 Thread Alan Ott
Toshiharu and Tomoya, I sent the email below to linux-usb today in regards to some performance issues I'm seeing with the EG20T (pch_udc) driver. I appreciate any insight you may have. Alan. On 01/13/2014 03:20 PM, Alan Ott wrote: Hi all, I have an EG20T-based board and have some issues wi

Re: EG20T USB Gadget Performance

2014-01-13 Thread Felipe Balbi
Hi, On Mon, Jan 13, 2014 at 03:20:31PM -0500, Alan Ott wrote: > I have an EG20T-based board and have some issues with performance on > the USB device interface. I don't have that hardware but ... > I made a libusb test program (using the async interface)[0] to read > data from the EG20T's USB de

Re: EG20T USB Gadget Performance

2014-01-13 Thread Alan Ott
On 01/13/2014 05:11 PM, Felipe Balbi wrote: 160MBit/sec isn't terrible, but I hoped for better. A USB analyzer shows 7 transactions happening quickly (with about 14us separating them), but every 8th transaction, the EG20T will NAK between 20-80 times[1], losing 50-100us[2]. as Alan stated, this

Re: [PATCH v4] Move DWC2 driver out of staging

2014-01-13 Thread Greg KH
On Mon, Jan 13, 2014 at 01:50:09PM -0800, Paul Zimmerman wrote: > The DWC2 driver should now be in good enough shape to move out of > staging. I have stress tested it overnight on RPI running mass > storage and Ethernet transfers in parallel, and for several days > on our proprietary PCI-based plat

[PATCH v5 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Hans de Goede
Hi all, And here is v5 of my ohci and ehci-platform clks, phy and dt support patch-set. New since the last version is that the compatibility strings now are "usb-ohci" and "usb-ehci", which should make everyone happy I hope. Other then that there are no changes compared to v4. Regards, Hans --

[PATCH v5 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-13 Thread Hans de Goede
Currently ehci-platform is only used in combination with devicetree when used with some Via socs. By extending it to (optionally) get clks and a phy from devicetree, and enabling / disabling those on power_on / off, it can be used more generically. Specifically after this commit it can be used for

[PATCH v5 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-13 Thread Hans de Goede
Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci-platform from devicetree in various cases. Specifically after this commit it can be used for the

Re: [PATCH v3 03/10] usb: find internal hub tier mismatch via acpi

2014-01-13 Thread Sarah Sharp
On Tue, Jan 07, 2014 at 12:29:44PM -0800, Dan Williams wrote: > ACPI identifies peer ports by setting their 'group_token' and 'group_position' > _PLD data to the same value. If a platform has tier mismatch (see Appendix D > figure 131 in the xhci spec), ACPI can override the default peer port > as

Re: Bug#704242: Driver for PL-2303 HX not working

2014-01-13 Thread Karsten Malcher
Hello together, i will close this bug at Debian now. After the last update this error seems to disappear in Debian stable. http://ftp.debian.org/debian/dists/wheezy/ChangeLog USB: pl2303: fix device initialisation at open The source for this patch can be found here: http://www.spinics.net/lists

Re: [PATCH v3 03/10] usb: find internal hub tier mismatch via acpi

2014-01-13 Thread Sarah Sharp
On Mon, Jan 13, 2014 at 02:56:57PM -0800, Sarah Sharp wrote: > On Tue, Jan 07, 2014 at 12:29:44PM -0800, Dan Williams wrote: > > ACPI identifies peer ports by setting their 'group_token' and > > 'group_position' > > _PLD data to the same value. If a platform has tier mismatch (see Appendix > > D

[PATCH] usb: dwc2: move device tree bindings doc to correct place

2014-01-13 Thread Paul Zimmerman
Now that the DWC2 driver has been moved to drivers/usb, move its bindings doc to the correct place Cc: Rob Herring Signed-off-by: Paul Zimmerman --- Greg, I missed this file when moving the rest of the dwc2 files. Documentation/devicetree/bindings/{staging => usb}/dwc2.txt | 0 1 file changed,

Re: [PATCH] xhci: fix resume issues on Renesas chips

2014-01-13 Thread Sarah Sharp
On Mon, Jan 13, 2014 at 10:49:49AM -0500, Don Zickus wrote: > Some co-workers of mine bought Samsung laptops that had mostly usb3 ports. > Those ports did not resume correctly (the driver would timeout communicating > and fail). This led to frustration as suspend/resume is a common use for > lapto

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst [NEW HARDWARE]

2014-01-13 Thread walt
On 01/09/2014 03:50 PM, Sarah Sharp wrote: >>> On Tue, Jan 07, 2014 at 03:57:00PM -0800, walt wrote: >> >> I've wondered if my xhci problems might be caused by hardware quirks, and >> wondering why I seem to be the only one who has this problem. >> >> Maybe I could "take one for the team" by buyin

Re: [PATCH v3 03/10] usb: find internal hub tier mismatch via acpi

2014-01-13 Thread Dan Williams
On Mon, Jan 13, 2014 at 2:56 PM, Sarah Sharp wrote: > On Tue, Jan 07, 2014 at 12:29:44PM -0800, Dan Williams wrote: >> ACPI identifies peer ports by setting their 'group_token' and >> 'group_position' >> _PLD data to the same value. If a platform has tier mismatch (see Appendix D >> figure 131 i

Re: [PATCH usb-next] usb: core: let dynamic ids override static ids

2014-01-13 Thread Greg KH
On Sat, Jan 11, 2014 at 02:04:00AM +0100, Bjørn Mork wrote: > This modifies the probing order so that any matching > dynamic entry always will be used, even if the driver > has a matching static entry. > > It is sometimes useful to dynamically update existing > device entries. With the new ability

USB, TTY, char/misc, and Staging trees now closed for 3.14

2014-01-13 Thread Greg KH
Hi all, Given that 3.13 will be out in a few days, it's time to close my trees for new patches until 3.14-rc1 is out. Please feel free to send me patches for these trees, but note that I'll be ignoring them until 3.14-rc1 is out, at which point in time I'll start reviewing them again and applying

Re: XHCI issues: WD MyBook 1230 - reset SuperSpeed USB device

2014-01-13 Thread Peter Palúch
Dear friends, So far, there has been no response to this issue report. I understand this is not a help desk with guaranteed replies but the fact that there was no response whatsoever is surprising to me. I would like to at least kindly ask that someone looks at the traces and tells me if thi

Re: [PATCH v3 03/10] usb: find internal hub tier mismatch via acpi

2014-01-13 Thread Alan Stern
On Mon, 13 Jan 2014, Sarah Sharp wrote: > On Mon, Jan 13, 2014 at 02:56:57PM -0800, Sarah Sharp wrote: > > I haven't looked at this too closely, but what happens if: > > - the USB 2.0 roothub is registered > > - userspace immediately sets autosuspend_delay to zero and > >pm_qos_no_port_powe

Re: EG20T USB Gadget Performance

2014-01-13 Thread Alan Stern
On Mon, 13 Jan 2014, Felipe Balbi wrote: > Hi, > > On Mon, Jan 13, 2014 at 03:20:31PM -0500, Alan Ott wrote: > > I have an EG20T-based board and have some issues with performance on > > the USB device interface. > > I don't have that hardware but ... > > > I made a libusb test program (using th

Re: [PATCH 1/2] usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs

2014-01-13 Thread Alexander Shiyan
Понедельник, 13 января 2014, 22:31 +01:00 от Uwe Kleine-König : > On Sat, Jan 11, 2014 at 06:01:48PM +0400, Alexander Shiyan wrote: > > Суббота, 11 января 2014, 13:55 +01:00 от Uwe Kleine-König > > : > > > On Mon, Nov 11, 2013 at 11:09:16AM +0400, Alexander Shiyan wrote: > > > > Hello. > > > > >

Re: [PATCH 1/2] usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs

2014-01-13 Thread Chris Ruehl
On Tuesday, January 14, 2014 11:30 AM, Alexander Shiyan wrote: Понедельник, 13 января 2014, 22:31 +01:00 от Uwe Kleine-König : On Sat, Jan 11, 2014 at 06:01:48PM +0400, Alexander Shiyan wrote: Суббота, 11 января 2014, 13:55 +01:00 от Uwe Kleine-König : On Mon, Nov 11, 2013 at 11:09:16AM +040

Re: [PATCH v5 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-13 Thread Tony Prisk
On 14/01/14 11:45, Hans de Goede wrote: Currently ehci-platform is only used in combination with devicetree when used with some Via socs. By extending it to (optionally) get clks and a phy from devicetree, and enabling / disabling those on power_on / off, it can be used more generically. Specific

Re: EG20T USB Gadget Performance

2014-01-13 Thread Alan Ott
On 01/13/2014 09:01 PM, Alan Stern wrote: On Mon, 13 Jan 2014, Felipe Balbi wrote: Hi, On Mon, Jan 13, 2014 at 03:20:31PM -0500, Alan Ott wrote: I have an EG20T-based board and have some issues with performance on the USB device interface. I don't have that hardware but ... I made a libusb

Re: EG20T USB Gadget Performance

2014-01-13 Thread Rajaram R
Hi I guess it is something to do with the buffer size of the gadget driver. Could you please try change the buffer size to 16K and confirm if the delay is shifting ? In this case your delay should be after 31 transfers... === 66 static struct usb_zero_options gzero_options = { 67

Re: EG20T USB Gadget Performance

2014-01-13 Thread Alan Ott
On 01/14/2014 12:08 AM, Rajaram R wrote: I guess it is something to do with the buffer size of the gadget driver. Could you please try change the buffer size to 16K and confirm if the delay is shifting ? In this case your delay should be after 31 transfers... === 66 static struct u

Re: EG20T USB Gadget Performance

2014-01-13 Thread Pratyush Anand
On Tue, Jan 14, 2014 at 02:06:13PM +0800, Alan Ott wrote: > On 01/14/2014 12:08 AM, Rajaram R wrote: > > I guess it is something to do with the buffer size of the gadget > > driver. Could you please try change the buffer size to 16K and confirm > > if the delay is shifting ? In this case your delay

[PATCH] USB: gadget: s3c-hsotg: stall ep0 in set_halt function

2014-01-13 Thread Robert Baldyga
When s3c_hsotg_ep_sethalt() function is called for ep0 it should be stalled in the same way that it is in s3c_hsotg_process_control() function, because SET_HALT for ep0 is delayed response for setup request. Endpoint 0, if halted, it doesn't need CLEAR_HALT because it clears "stalled" state automat