[PATCH v5 3/6] usb: musb: dsps: Call usb_phy(_shutdown/_init) during musb_platform_reset()

2014-05-22 Thread George Cherian
For DSPS platform usb_phy_vbus(_off/_on) are NOPs. So during musb_platform_reset() call usb_phy(_shutdown/_init) Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_dsps.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v5 1/6] usb: musb: core: Handle Babble condition only in HOST mode

2014-05-22 Thread George Cherian
BABBLE and RESET share the same interrupt. The interrupt is considered to be RESET if MUSB is in peripheral mode and as a BABBLE if MUSB is in HOST mode. Handle babble condition iff MUSB is in HOST mode. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_core.c | 2 +-

[PATCH v5 4/6] usb: musb: core: Convert the musb_platform_reset to have a return value.

2014-05-22 Thread George Cherian
Currently musb_platform_reset() is only used by dsps. In case of BABBLE interrupt for other platforms the musb_platform_reset() is a NOP. In such situations no need to re-initialize the endpoints. Also in the latest silicon revision of AM335x, we do have a babble recovery mechanism without

[PATCH v5 5/6] usb: musb: dsps: Add the sw_babble_control()

2014-05-22 Thread George Cherian
Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x. Signed-off-by: George Cherian george.cher...@ti.com ---

[PATCH v5 6/6] usb: musb: dsps: Enable sw babble control for newer silicon

2014-05-22 Thread George Cherian
Find whether we are running on newer silicon. The babble control register reads 0x4 by default in newer silicon as opposed to 0 in old versions of AM335x. Based on this enable the sw babble control logic. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_dsps.c | 38

[PATCH v5 0/6] Add support for SW babble Control

2014-05-22 Thread George Cherian
Series add support for SW babble control logic found in new silicon versions of AM335x. Runtime differentiation of silicon version is done by checking the BABBLE_CTL register. For newer silicon the register default value read is 0x4 and for older versions its 0x0. Patch 1 - Handle Babble only if

[PATCH v5 2/6] usb: musb: core: Convert babble recover work to delayed work

2014-05-22 Thread George Cherian
During babble condition both first disconnect of devices are initiated. Make sure MUSB controller is reset and re-initialized after all disconnects. To acheive this schedule a delayed work for babble rrecovery. While at that convert udelay to usleep_range. Refer

Re: ASMedia AS2105 interface on USB 3.0 corrupts data

2014-05-22 Thread Heinz Diehl
On 21.05.2014, Alan Stern wrote: In that case, I have no idea what else could be causing the problem. Thanks for your efforts! If somebody of the developers is interested in debugging this, I'm willing to provide/give away the device for free. Send me an email with your postal adress in this

Re: USB 3.0 - Synopsis DWC Host-AHB - on Linux Kernel 3.10.28

2014-05-22 Thread Pratyush Anand
On Wed, May 21, 2014 at 05:23:33PM +0800, krishnamurthy holla wrote: Hello, I am using Linux kernel 3.10.28 - MIPS processor (BIG Endian) I see that XHCI fails during xhci_device_alloc() because of wait_for_completion_interruptible_timeout () when I connect a device. So, I thought of

[PATCH] MIPS: MSP71xx: remove checks for two macros

2014-05-22 Thread Paul Bolle
Since v2.6.39 there are checks for CONFIG_MSP_HAS_DUAL_USB and checks for CONFIG_MSP_HAS_TSMAC in the code. The related Kconfig symbols have never been added. These checks have evaluated to false for three years now. Remove them and the code they have been hiding. Signed-off-by: Paul Bolle

[PATCH 1/2] usb: usbtest: fix unlink write error with pattern 1

2014-05-22 Thread Huang Rui
TEST 12 unlinks the URB write request for N times. When host and gadget both initialize pattern 1 (mod 63) data series to transfer, the gadget side will complain the wrong data which is not expected. Because in host side, usbtest doesn't fill the data buffer as mod 63 and this patch fixed it.

[PATCH 2/2] usb: usbtest: add pattern check on pipe in phase of unlink read

2014-05-22 Thread Huang Rui
TEST 11 unlinks the URB read request for N times. When host and gadget both initialize pattern 1 (mod 63) data series to do IN transfer, the host side function should check the data buffer if it is as mod 63 series, because the data packet which host receivced will follow pattern 1. So this patch

some question about usb_interrupt_msg

2014-05-22 Thread vichy
hi all: I see usb_interrupt_msg do nothing but call usb_bulk_msg. Why we still keep usb_interrupt_msg? for old api compatibility? thanks for your help in advance, -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More

Runtime PM workqueue killing system performance with USB

2014-05-22 Thread Will Deacon
Hi all, Although I don't think this is a new issue, booting mainline on my vexpress a9x4 (Quad ARMv7 Cortex-A9 board) with USB and PM_RUNTIME results in each CPU being constantly 20-50% loaded. A bit of investigation shows that this is due to the runtime-pm callbacks trying to autosuspend USB,

[PATCH V2] USB: Add LVS Test device driver

2014-05-22 Thread Pratyush Anand
OTG3 and EH Compliance Plan 1.0 talks about Super Speed OTG Verification system (SS-OVS) which consists of an excersizer and analyzer. USB Compliance Suite from Lecroy or Ellisys can act as such SS-OVS for Link Layer Validation (LVS). Some modifications are needed for an embedded Linux USB host

[PATCH v2] usb: usb5303: add support for reference clock specified in device tree

2014-05-22 Thread Marek Szyprowski
USB3503 chip supports 8 values of reference clock. The value is specified by REF_SEL[1:0] pins and INT_N line. This patch add support for getting 'refclk' clock, enabling it and setting INT_N line according to the value of the gathered clock. If no clock has been specified, driver defaults to the

Re: [PATCH v5 5/6] usb: musb: dsps: Add the sw_babble_control()

2014-05-22 Thread Sergei Shtylyov
Hello. On 22-05-2014 10:29, George Cherian wrote: Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x.

Re: [PATCH v5 5/6] usb: musb: dsps: Add the sw_babble_control()

2014-05-22 Thread Sergei Shtylyov
On 22-05-2014 10:29, George Cherian wrote: Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x. Signed-off-by:

Re: [PATCH v5 6/6] usb: musb: dsps: Enable sw babble control for newer silicon

2014-05-22 Thread Sergei Shtylyov
Hello. On 22-05-2014 10:29, George Cherian wrote: Find whether we are running on newer silicon. The babble control register reads 0x4 by default in newer silicon as opposed to 0 in old versions of AM335x. Based on this enable the sw babble control logic. Signed-off-by: George Cherian

[PATCH] DWC2: intializes the spin_lock earlier in the probe

2014-05-22 Thread Jean-Jacques Hiblot
The spinlock hsotg-lock is intialized at the end of the probe. However it may be used from within dwc2_hcd_init(). This patch moves the initialization before the call to dwc2_hcd_init(). This make the locking correctness validator happy. Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com

use of isochronous mode

2014-05-22 Thread Yves Martens
Hello, I read the USB spec, understand when to prefer bulk vs. isochronous pipes. My usecase requires controlled jitter guaranteed bandwidth. But when discussing this with multiple peer engineers, rumor goes isochronous mode has 'issues' (sic), they advise me against using it altogether. But

Re: [PATCH v5 6/6] usb: musb: dsps: Enable sw babble control for newer silicon

2014-05-22 Thread George Cherian
On 5/22/2014 5:28 PM, Sergei Shtylyov wrote: Hello. On 22-05-2014 10:29, George Cherian wrote: Find whether we are running on newer silicon. The babble control register reads 0x4 by default in newer silicon as opposed to 0 in old versions of AM335x. Based on this enable the sw babble control

Re: [PATCH] MIPS: MSP71xx: remove checks for two macros

2014-05-22 Thread Ralf Baechle
On Thu, May 22, 2014 at 11:34:51AM +0200, Paul Bolle wrote: Since v2.6.39 there are checks for CONFIG_MSP_HAS_DUAL_USB and checks for CONFIG_MSP_HAS_TSMAC in the code. The related Kconfig symbols have never been added. These checks have evaluated to false for three years now. Remove them and

Re: [PATCH v6 10/17] ARM: mvebu: add USB3 support for Armada 38x

2014-05-22 Thread Jason Cooper
On Wed, May 21, 2014 at 03:53:22PM +0200, Gregory CLEMENT wrote: On 19/05/2014 13:09, Paul Bolle wrote: On Fri, 2014-05-16 at 15:07 -0400, Jason Cooper wrote: On Thu, May 15, 2014 at 12:17:35PM +0200, Gregory CLEMENT wrote: This patch adds the selection of the config symbol needed to build

Re: ASMedia AS2105 interface on USB 3.0 corrupts data

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Heinz Diehl wrote: On 21.05.2014, Alan Stern wrote: In that case, I have no idea what else could be causing the problem. Thanks for your efforts! If somebody of the developers is interested in debugging this, I'm willing to provide/give away the device for

Re: some question about usb_interrupt_msg

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, vichy wrote: hi all: I see usb_interrupt_msg do nothing but call usb_bulk_msg. Why we still keep usb_interrupt_msg? for old api compatibility? That's right. Also because it gives an indication to the reader about what type of transfer is being performed. Alan Stern

Re: USB 3.0 - Synopsis DWC Host-AHB - on Linux Kernel 3.10.28

2014-05-22 Thread Felipe Balbi
Hi, curiosity: do you have Host-only or the DRD core ? On Wed, May 21, 2014 at 02:53:33PM +0530, krishnamurthy holla wrote: Hello, I am using Linux kernel 3.10.28 - MIPS processor (BIG Endian) I see that XHCI fails during xhci_device_alloc() because of

Re: use of isochronous mode

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Yves Martens wrote: Hello, I read the USB spec, understand when to prefer bulk vs. isochronous pipes. My usecase requires controlled jitter guaranteed bandwidth. But when discussing this with multiple peer engineers, rumor goes isochronous mode has 'issues' (sic),

RE: ASMedia AS2105 interface on USB 3.0 corrupts data

2014-05-22 Thread David Laight
From: Alan Stern On Thu, 22 May 2014, Heinz Diehl wrote: On 21.05.2014, Alan Stern wrote: In that case, I have no idea what else could be causing the problem. Thanks for your efforts! If somebody of the developers is interested in debugging this, I'm willing to provide/give

Re: use of isochronous mode

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Russel Hughes wrote: Does the Linux USB implementation supports both equally well? And also the scheduling of a mixture of both pipe types? For both USB 2 and 3? Do you have an idea why many commercial devices (e.g. AV applications) still would go for bulk?

Re: Runtime PM workqueue killing system performance with USB

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Will Deacon wrote: Hi all, Although I don't think this is a new issue, booting mainline on my vexpress a9x4 (Quad ARMv7 Cortex-A9 board) with USB and PM_RUNTIME results in each CPU being constantly 20-50% loaded. A bit of investigation shows that this is due to the

[PATCH v2 RESEND] PREEMPT_RT: USB serial gadget: Fix locking issue

2014-05-22 Thread Jean-Jacques Hiblot
With CONFIG_PREEMPT_RT_FULL the tty_flip_buffer_push(..) actions are executed immeditely (same behaviour as if low_latency flag was set). We thus have to release port_lock before callng tty_flip_buffer_push(). This issue resultst of commits: 44a0c019: USB: g_serial: don't set low_latency flag

[PATCH 0/7] Multiple fixes for musb and cppi41

2014-05-22 Thread Daniel Mack
I've been trying to use the musb host controller for devices other than USB mass storage like Wifi-Sticks and USB audio cards, and ran into a larger number of nasty issues. After staring at hexdumps for the better part of the last couple of days, I finally fixed all of them. I used an external

[PATCH 1/7] dma: cppi41: handle 0-length packets

2014-05-22 Thread Daniel Mack
When a 0-length packet is received on the bus, desc-pd6 contains 1, and the current residue calculation reports back that 1 byte has been transferred. This is not according to what the datasheet says, but it's been the case on an AM335x board, very reproducible. Fix this by looking at bit 19 in

[PATCH 3/7] usb: musb: use is_host_active() to distinguish between host and gadget mode

2014-05-22 Thread Daniel Mack
On AM33xx platforms, unplugging a device in the middle of an active transfer leads to a drop of MUSB_DEVCTL_HM in MUSB_DEVCTL before the system is informed about a disconnect. This consequently makes the musb core call the gadget code to handle the interrupt request, which then crashes the kernel

[PATCH 2/7] usb: musb: remove unnecessary (void) prefix at function calls

2014-05-22 Thread Daniel Mack
There's no point in casting these return value to void. Remove it. Signed-off-by: Daniel Mack zon...@gmail.com --- drivers/usb/musb/musb_host.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index

[PATCH 4/7] usb: musb: fix bit masks for CSR in musb_h_tx_flush_fifo()

2014-05-22 Thread Daniel Mack
The datasheet says that MUSB_TXCSR_FLUSHFIFO is only valid when MUSB_CSR0_TXPKTRDY is set as well. Also, clear the MUSB_TXCSR_H_RXSTALL which drivers are not supposed to write, according to the docs. With this patch applied, the warning in this function does no longer kicks in when an USB

[PATCH 6/7] usb: musb/cppi41: call musb_ep_select() before accessing an endpoint's CSR

2014-05-22 Thread Daniel Mack
When a DMA request is continued and a new inbound packet is requested, make sure we're operating on the right endpooint. Otherwise, no new packet is requested and the stream starves. Signed-off-by: Daniel Mack zon...@gmail.com --- drivers/usb/musb/musb_cppi41.c | 1 + 1 file changed, 1

[PATCH 7/7] usb: musb/cppi41: read data toggle from right endpoint

2014-05-22 Thread Daniel Mack
The fixup for Advisory 1.0.13 (USB: data may be lost when USB subsystem is operating in DMA mode and more than one endpoint is transferring data) reads the USB data toggle each time a packet is given back from the DMA controller. It does so in order to detect mismatches and restoring the DATA1

[PATCH 5/7] usb: musb: introduce dma_channel.packet_done

2014-05-22 Thread Daniel Mack
The musb/cppi41 glue layer is capable of handling transactions that span over more than one USB packet by reloading the DMA descriptors partially. An urb is considered completed when either its transfer buffer has been filled entirely (actual_length == transfer_buffer_length) or if a packet in the

Re: [PATCH] usb: ehci: Enable support for 64bit EHCI host controllers in arm64

2014-05-22 Thread Catalin Marinas
On Mon, May 19, 2014 at 09:21:17AM +0100, Jon Medhurst (Tixy) wrote: On Fri, 2014-05-16 at 18:40 +0100, Catalin Marinas wrote: On Fri, May 16, 2014 at 06:08:45PM +0100, Jon Medhurst (Tixy) wrote: On Fri, 2014-05-16 at 13:55 +0100, Catalin Marinas wrote: [...] It could if arm64 would

Re: [PATCH] usb: ehci: Enable support for 64bit EHCI host controllers in arm64

2014-05-22 Thread Jon Medhurst (Tixy)
On Thu, 2014-05-22 at 16:59 +0100, Catalin Marinas wrote: On Mon, May 19, 2014 at 09:21:17AM +0100, Jon Medhurst (Tixy) wrote: On Fri, 2014-05-16 at 18:40 +0100, Catalin Marinas wrote: On Fri, May 16, 2014 at 06:08:45PM +0100, Jon Medhurst (Tixy) wrote: On Fri, 2014-05-16 at 13:55 +0100,

Re: [PATCH 2/2] usb: usbtest: add pattern check on pipe in phase of unlink read

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Huang Rui wrote: TEST 11 unlinks the URB read request for N times. When host and gadget both initialize pattern 1 (mod 63) data series to do IN transfer, the host side function should check the data buffer if it is as mod 63 series, because the data packet which host

Re: Runtime PM workqueue killing system performance with USB

2014-05-22 Thread Will Deacon
Hi Alan, On Thu, May 22, 2014 at 04:02:06PM +0100, Alan Stern wrote: On Thu, 22 May 2014, Will Deacon wrote: Consequently, I see a kworker thread on each CPU consuming a significant amount of the system resources. Worse, if I enable something like kmemleak (which adds more work to the

Re: [PATCH V2] USB: Add LVS Test device driver

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Pratyush Anand wrote: OTG3 and EH Compliance Plan 1.0 talks about Super Speed OTG Verification system (SS-OVS) which consists of an excersizer and analyzer. USB Compliance Suite from Lecroy or Ellisys can act as such SS-OVS for Link Layer Validation (LVS). Some

Re: Runtime PM workqueue killing system performance with USB

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Will Deacon wrote: Anyway, there are two possible ways of handling this. One is to avoid changing the error code to -EBUSY when the device in question is a root hub. Just let it go into a runtime-PM error state; it won't matter since the controller doesn't

RE: [PATCH] DWC2: intializes the spin_lock earlier in the probe

2014-05-22 Thread Paul Zimmerman
From: Jean-Jacques Hiblot [mailto:jjhib...@traphandler.com] Sent: Thursday, May 22, 2014 5:10 AM The spinlock hsotg-lock is intialized at the end of the probe. However it may be used from within dwc2_hcd_init(). This patch moves the initialization before the call to dwc2_hcd_init(). This

skbuff truesize incorrect.

2014-05-22 Thread Jim Baxter
Hi, I was hoping you can help me with some questions. I have been investigating a network issue with bursts of network traffic over USB CDC-NCM, the issue is that the kernel is dropping packets because sk_rcvqueues_full() returns true due to skb2-truesize is always 32960 instead of

Re: skbuff truesize incorrect.

2014-05-22 Thread David Miller
From: Jim Baxter jim_bax...@mentor.com Date: Thu, 22 May 2014 20:07:41 +0100 My questions are: 1) Which buffer size does truesize represent, is it the total buffer or just the data related to the relevant skb? 2) If truesize is for the skb it is contained within should it be updated

Re: skbuff truesize incorrect.

2014-05-22 Thread Vlad Yasevich
On 05/22/2014 03:07 PM, Jim Baxter wrote: Hi, I was hoping you can help me with some questions. I have been investigating a network issue with bursts of network traffic over USB CDC-NCM, the issue is that the kernel is dropping packets because sk_rcvqueues_full() returns true due to

Re: skbuff truesize incorrect.

2014-05-22 Thread Jim Baxter
On 22/05/14 20:25, Vlad Yasevich wrote: On 05/22/2014 03:07 PM, Jim Baxter wrote: skb2 = skb_clone(skb, GFP_ATOMIC); if (skb2 == NULL) goto err; if (!skb_pull(skb2, index)) { ret = -EOVERFLOW; goto err; } This assumes that you original 16K

Re: skbuff truesize incorrect.

2014-05-22 Thread Eric Dumazet
On Thu, 2014-05-22 at 20:39 +0100, Jim Baxter wrote: I now think that the correct solution here is to create a new smaller skb and copy the data from the sub packets into it. For low speed devices, this is indeed the best way. (this is called copybreak in some nic drivers) -- To

[PATCH] Add can_do_streams to dummy_hcd

2014-05-22 Thread Pantelis Koukousoulas
I was puzzled why uas didn't accept to bind to tcm_usb_gadget via dummy_hcd. Debugging showed that recent commit (14aec589327a6fc4035f5327d90ac5548f501c4c) added the field can_do_streams to hcd structure but only set it to 1 in the xhci driver. dummy_hcd seems to support superspeed and streams

Re: skbuff truesize incorrect.

2014-05-22 Thread Jim Baxter
On 22/05/14 20:21, David Miller wrote: From: Jim Baxter jim_bax...@mentor.com Date: Thu, 22 May 2014 20:07:41 +0100 My questions are: 1) Which buffer size does truesize represent, is it the total buffer or just the data related to the relevant skb? 2) If truesize is for the skb it is

Re: skbuff truesize incorrect.

2014-05-22 Thread Eric Dumazet
On Thu, 2014-05-22 at 21:21 +0100, Jim Baxter wrote: OK, so it is the value of the memory that has been allocated for the SKB. If there are multiple clones for an skb all pointing at the same data, will that distort the memory used when they all have the same truesize? Its always better to

Re: skbuff truesize incorrect.

2014-05-22 Thread Jim Baxter
On 22/05/14 20:59, Eric Dumazet wrote: On Thu, 2014-05-22 at 20:39 +0100, Jim Baxter wrote: I now think that the correct solution here is to create a new smaller skb and copy the data from the sub packets into it. For low speed devices, this is indeed the best way. (this is called

Re: [PATCH v4 1/6] usb: musb: core: Handle Babble condition only in HOST mode

2014-05-22 Thread Bin Liu
Hi George, On Mon, May 19, 2014 at 11:32 PM, George Cherian george.cher...@ti.com wrote: Hi Bin, On 5/19/2014 9:24 PM, Bin Liu wrote: Hi, On Mon, May 19, 2014 at 8:39 AM, George Cherian george.cher...@ti.com wrote: BABBLE and RESET share the same interrupt. The interrupt is considered

Re: skbuff truesize incorrect.

2014-05-22 Thread Eric Dumazet
On Thu, 2014-05-22 at 20:07 +0100, Jim Baxter wrote: I have been investigating a network issue with bursts of network traffic over USB CDC-NCM, the issue is that the kernel is dropping packets because sk_rcvqueues_full() returns true due to skb2-truesize is always 32960 instead of

Re: skbuff truesize incorrect.

2014-05-22 Thread David Miller
From: Jim Baxter jim_bax...@mentor.com Date: Thu, 22 May 2014 21:21:55 +0100 If there are multiple clones for an skb all pointing at the same data, will that distort the memory used when they all have the same truesize? What is distorted about it? Each clone references exactly that much

Re: skbuff truesize incorrect.

2014-05-22 Thread Eric Dumazet
On Thu, 2014-05-22 at 13:58 -0700, Eric Dumazet wrote: I would set rx_max (rx_urb_size) to SKB_MAX_HEAD(0) so that you do not use high order allocations. Correction, that would need SKB_MAX_HEAD(NET_SKB_PAD + NET_IP_ALIGN), because drivers/net/usb/usbnet.c calls __netdev_alloc_skb_ip_align().

Re: skbuff truesize incorrect.

2014-05-22 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Thu, 22 May 2014 14:03:21 -0700 On Thu, 2014-05-22 at 13:58 -0700, Eric Dumazet wrote: I would set rx_max (rx_urb_size) to SKB_MAX_HEAD(0) so that you do not use high order allocations. Correction, that would need SKB_MAX_HEAD(NET_SKB_PAD +

Re: [PATCH 1/7] dma: cppi41: handle 0-length packets

2014-05-22 Thread Daniel Mack
Hi, I messed up the register names in the commit log. Will fix in v2. On 05/22/2014 05:30 PM, Daniel Mack wrote: When a 0-length packet is received on the bus, desc-pd6 contains 1, and ... 'desc-pd0' ... the current residue calculation reports back that 1 byte has been transferred. This is

[PATCH] Staging: Media: sn9c102: Fixed a pointer declaration coding style issue

2014-05-22 Thread Chaitanya
Fixed the ERROR thrown off by checkpatch.pl. Signed-off-by: Chaitanya Hazarey c...@24.io --- drivers/staging/media/sn9c102/sn9c102_tas5130d1b.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/media/sn9c102/sn9c102_tas5130d1b.c

RE: [PATCH v2 0/2] Re-organize usb common

2014-05-22 Thread Peter Chen
Hi Greg, This patch set creates usb/common for usb common things, and moves otg fsm implementation from usb/phy/ to usb/common/. I have a discussion with Felipe about it at below link: http://www.spinics.net/lists/linux-usb/msg106357.html Thanks. Changes for v2: - Fix one typo

[PATCH 0/3] Chipidea patches for 3.16 merge window

2014-05-22 Thread Peter Chen
Hi Greg, No big changes for these three patches, just cleanup, refine, update TODO list. Besides, I haven't seen my last 3.16 patch set in your next tree, do I need to re-send them (together with this one)? http://marc.info/?l=linux-usbm=139917105404965w=2 Thanks. Peter Chen (3): usb:

[PATCH 1/3] usb: chipidea: update TODO list

2014-05-22 Thread Peter Chen
Update TODO list Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/core.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 128b92b..95b4dd7 100644 ---

[PATCH 2/3] usb: chipidea: udc: delete useless code

2014-05-22 Thread Peter Chen
Delete useless code Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/udc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index d683968..69425b3 100644 --- a/drivers/usb/chipidea/udc.c

[PATCH 3/3] usb: chipidea: using one inline function to cover queue work operations

2014-05-22 Thread Peter Chen
The otg queue work include operations: one is disable interrupt, another one is call kernel queue work API. Many codes do this operation, using one inline function to instead of them. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/core.c|6 +--

Re: [PATCH v2 0/2] Re-organize usb common

2014-05-22 Thread gre...@linuxfoundation.org
On Fri, May 23, 2014 at 01:16:37AM +, Peter Chen wrote: Hi Greg, This patch set creates usb/common for usb common things, and moves otg fsm implementation from usb/phy/ to usb/common/. I have a discussion with Felipe about it at below link:

Re: some question about usb_interrupt_msg

2014-05-22 Thread vichy
hi Alan: 2014-05-22 22:14 GMT+08:00 Alan Stern st...@rowland.harvard.edu: On Thu, 22 May 2014, vichy wrote: hi all: I see usb_interrupt_msg do nothing but call usb_bulk_msg. Why we still keep usb_interrupt_msg? for old api compatibility? That's right. Also because it gives an indication

Re: [GIT PULL] USB patches for v3.16 merge window

2014-05-22 Thread Greg KH
On Wed, May 21, 2014 at 05:28:31PM -0500, Felipe Balbi wrote: Hi Greg, Here's my big dump for v3.16 merge window. Even though we have a lot of patches, most of them are just doing cleanups and small bug fixes. Consider merging it to your usb-next branch. There will be a conflict with

Re: [PATCH 0/3] Chipidea patches for 3.16 merge window

2014-05-22 Thread Greg KH
On Fri, May 23, 2014 at 08:12:46AM +0800, Peter Chen wrote: Hi Greg, No big changes for these three patches, just cleanup, refine, update TODO list. Besides, I haven't seen my last 3.16 patch set in your next tree, do I need to re-send them (together with this one)?

RE: [PATCH 0/3] Chipidea patches for 3.16 merge window

2014-05-22 Thread Peter Chen
No big changes for these three patches, just cleanup, refine, update TODO list. Besides, I haven't seen my last 3.16 patch set in your next tree, do I need to re-send them (together with this one)? http://marc.info/?l=linux-usbm=139917105404965w=2 Sorry, been on the road, now

debug info for scheduling

2014-05-22 Thread vichy
hi all: I have some questions: 1. is it possible to know period bandwidth for ehci controller from sys or other additional configuration? 2. is it possible to know S/C bit in QHs which are linked in a frame? thanks for your help in advance, -- To unsubscribe from this list: send the line

Re: [PATCH V2] USB: Add LVS Test device driver

2014-05-22 Thread Pratyush Anand
Hi Alan, On Fri, May 23, 2014 at 01:54:01AM +0800, Alan Stern wrote: On Thu, 22 May 2014, Pratyush Anand wrote: OTG3 and EH Compliance Plan 1.0 talks about Super Speed OTG Verification system (SS-OVS) which consists of an excersizer and analyzer. USB Compliance Suite from Lecroy or