Re: [PATCHv2] Input: xpad - Fix double URB submission races

2015-08-26 Thread Dmitry Torokhov
On Mon, Aug 24, 2015 at 9:22 PM, Laura Abbott labb...@redhat.com wrote: On 08/21/2015 09:50 AM, Dmitry Torokhov wrote: Hi Laura, On Mon, Aug 10, 2015 at 05:26:12PM -0700, Laura Abbott wrote: v2: Created a proper queue for events instead of just dropping them How long does it take for the

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Johan Hovold
On Wed, Aug 26, 2015 at 08:09:30PM +0200, Peter Stuge wrote: Johan Hovold wrote: On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: .. garbage characters transmitted from embedded-device .. It seems that there is some issue with the driver. Why do think it's a driver issue?

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Peter Stuge
Johan Hovold wrote: On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: .. garbage characters transmitted from embedded-device .. It seems that there is some issue with the driver. Why do think it's a driver issue? I can confirm similar issues with the in-tree driver and my

Re: [PATCH 0/5] usb: common and dwc3: converting to unified device property

2015-08-26 Thread Peter Chen
On Tue, Aug 25, 2015 at 02:04:30PM +0300, Heikki Krogerus wrote: Hi, While converting dwc3 to the unified device property interface, I noticed that there is really nothing preventing of_usb_get_dr_mode and of_usb_get_maximum_speed from being converted as well. Hope that's OK. Place the

Re: [PATCH] usb: otg: don't set a_alt_hnp_support feature for OTG 2.0 device

2015-08-26 Thread Peter Chen
On Tue, Aug 25, 2015 at 03:53:32PM +0800, Li Jun wrote: Since a_alt_hnp_support is obsolete in OTG 2.0, HNP capable host should send this set feature request only if the otg device is connecting to a non-HNP port and it's compliant with OTG 1.x revision. This is done by checking its otg

Re: [TESTPATCH] xhci: custom debug patch for command mismatch

2015-08-26 Thread Vincent Pelletier
On Wed, 26 Aug 2015 16:05:15 +0300, Mathias Nyman mathias.ny...@linux.intel.com wrote: In the first mail you sent we failed in aborting a command, and the command ring didn't stop. In the log you recently sent the command ring stopped, command was successfully aborted and life went on. I

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Johan Hovold
[ +CC: linux-usb ] On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: Hi all. I am attaching the RS232-TTL via a serial-USB converter on my machine. However, when I connect a putty-session with my embedded-device, I see strange issues (garbage characters transmitted from

Re: [PATCH v6 4/5] xhci: mediatek: support MTK xHCI host controller

2015-08-26 Thread Daniel Thompson
On 22/08/15 02:45, Chunfeng Yun wrote: MTK xhci host controller defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context According to the covering

xHCI reports “ERROR Unknown event condition 20, HC probably busted”

2015-08-26 Thread Steinar H. Gunderson
Hi, I have an USB3 device which I'm using through libusb (so usbfs) pulling relatively large amounts of isochronous data (uncompressed 720p60 video, so a bit under a gigabit per second) down to my X240 laptop. I submit four isochronous requests of about ~2MB each, which seems to be enough to keep

Re: [PATCH] usb: Move xhci_pme_quirk() behind an #ifdef CONFIG_PM, as it is not used when it's not defined

2015-08-26 Thread Tomer Barletz
Ping. On Tue, Aug 18, 2015 at 12:55 AM, Tomer Barletz barl...@gmail.com wrote: Signed-off-by: Tomer Barletz barl...@gmail.com --- drivers/usb/host/xhci-pci.c | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git

Re: [Bug 103461] i.MX USB runtime power management breaks the boot

2015-08-26 Thread Vincent Stehlé
On 08/26/2015 06:41 AM, Peter Chen wrote: .. Vincent, would you supply related u-boot and pc tools for me? Then, I can reproduce it. Hi Peter, Thanks for your concern! I have updated the bugzilla Bug 103461 with more details, to spare the list. Do not hesitate to let me know if you need any

Re: [PATCH v4 00/13] USB: OTG/DRD Core functionality

2015-08-26 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:11PM +0300, Roger Quadros wrote: Hi, This series centralizes OTG/Dual-role functionality in the kernel. As of now I've got Dual-role functionality working pretty reliably on dra7-evm and am437x-gp-evm. DWC3 controller and platform related patches will be sent

Re: [PATCH 0/5] usb: common and dwc3: converting to unified device property

2015-08-26 Thread Heikki Krogerus
Hi Peter, On Wed, Aug 26, 2015 at 12:53:20PM +0800, Peter Chen wrote: On Tue, Aug 25, 2015 at 02:04:30PM +0300, Heikki Krogerus wrote: Hi, While converting dwc3 to the unified device property interface, I noticed that there is really nothing preventing of_usb_get_dr_mode and

RE: [PATCH 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-08-26 Thread Roman Bacik
-Original Message- From: John Youn [mailto:john.y...@synopsys.com] Sent: August-25-15 7:06 PM To: Roman Bacik; John Youn; Scott Branden; Greg Kroah-Hartman; linux- u...@vger.kernel.org Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list Subject: Re: [PATCH 1/1] usb: dwc2:

Re: [TESTPATCH] xhci: custom debug patch for command mismatch

2015-08-26 Thread Mathias Nyman
On 25.08.2015 22:53, Vincent Pelletier wrote: On Tue, 25 Aug 2015 21:09:20 +0200, Vincent Pelletier plr.vinc...@gmail.com wrote: I'm not sure how I'll get this (I have a lot to learn about kernel debugging). Answering to myself: log_buf_len kernel parameter. I sent you my dmesg off-list

[PATCH] xhci: give command abortion one more chance before killing xhci

2015-08-26 Thread Mathias Nyman
We want to give the command abortion an additonal try to stop the command ring before we completely hose xhci. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host/xhci-ring.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/host/xhci-ring.c

Re: [PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-08-26 Thread John Youn
On 8/20/2015 11:43 AM, Antti Seppälä wrote: This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big-endian systems such as the mips based SoCs made by Lantiq.

Re: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread Peter Chen
On Thu, Aug 27, 2015 at 10:59:22AM +0530, sundeep subbaraya wrote: Hi, On Wed, Aug 26, 2015 at 8:57 PM, Nathan Sullivan nathan.sulli...@ni.com wrote: The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, unlike the default platform data. Add platform data specific to

Re: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread sundeep subbaraya
Hi, On Wed, Aug 26, 2015 at 8:57 PM, Nathan Sullivan nathan.sulli...@ni.com wrote: The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, unlike the default platform data. Add platform data specific to the Zynq udc. Based on a patch by the same name from the Xilinx vendor

[PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread Nathan Sullivan
The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, unlike the default platform data. Add platform data specific to the Zynq udc. Based on a patch by the same name from the Xilinx vendor tree. Signed-off-by: Nathan Sullivan nathan.sulli...@ni.com ---

[PATCH 2/2] Documentation: bindings: add doc for zynq USB

2015-08-26 Thread Nathan Sullivan
Document the binding for the zynq specific chipidea UDC binding. Signed-off-by: Nathan Sullivan nathan.sulli...@ni.com --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt

Re: [PATCH 0/5] usb: common and dwc3: converting to unified device property

2015-08-26 Thread Peter Chen
On Wed, Aug 26, 2015 at 01:13:22PM +0300, Heikki Krogerus wrote: Hi Peter, On Wed, Aug 26, 2015 at 12:53:20PM +0800, Peter Chen wrote: On Tue, Aug 25, 2015 at 02:04:30PM +0300, Heikki Krogerus wrote: Hi, While converting dwc3 to the unified device property interface, I noticed