[PATCH 2/2] usb: gadget: f_eem: Staticize eem_alloc

2013-09-16 Thread Sachin Kamat
'eem_alloc' is local to this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/usb/gadget/f_eem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_eem.c b/drivers/usb/gadget/f_eem.c index d00392d..d61c11d 100644 ---

[PATCH 1/2] usb: gadget: f_ecm: Staticize ecm_alloc

2013-09-16 Thread Sachin Kamat
'ecm_alloc' is local to this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/usb/gadget/f_ecm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_ecm.c b/drivers/usb/gadget/f_ecm.c index edab45d..8d9e6f7 100644 ---

[PATCH 0/2] Enable PPS reporting for USB serial devices (v3)

2013-09-16 Thread Paul Chavent
Hi. This series enable the PPS reporting for USB serial devices. This third submission improve commit messages, and fix some coding guidelines. The last patch of the v2 will be integrated in an more global reworking of the pl2303 driver. Paul Chavent (2): USB : serial : call handle_dcd_change

[PATCH 1/1] usb: xhci: Staticize xhci_del_comp_mod_timer

2013-09-16 Thread Sachin Kamat
'xhci_del_comp_mod_timer' is local to this file. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/usb/host/xhci-hub.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index fae697e..2b61700 100644

[PATCH 1/2] USB : serial : call handle_dcd_change in ftdi driver.

2013-09-16 Thread Paul Chavent
When the device receive a DCD status change, forward the signal to the USB serial system. This way, we can detect, for instance, PPS pulses. Signed-off-by: Paul Chavent paul.chav...@onera.fr --- drivers/usb/serial/ftdi_sio.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

[PATCH 2/2] USB : serial : invoke dcd_change ldisc's handler.

2013-09-16 Thread Paul Chavent
The DCD pin of the serial port can receive a PPS signal. By calling the port line discipline dcd handle, this patch allow to monitor PPS through USB serial devices. However the performance aren't as good as the uart drivers, so document this point too. Signed-off-by: Paul Chavent

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-16 Thread Roger Quadros
Hi, On 09/16/2013 05:52 AM, Kishon Vijay Abraham I wrote: On Thursday 12 September 2013 06:49 PM, Roger Quadros wrote: On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are

Re: [PATCH 3/7] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-09-16 Thread Roger Quadros
On 09/16/2013 06:01 AM, Kishon Vijay Abraham I wrote: On Thursday 12 September 2013 04:49 PM, Roger Quadros wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted omap-usb3 PHY driver to Generic PHY Framework and moved phy-omap-usb3 driver in drivers/usb/phy to

Re: [PATCH 2/2] USB : serial : invoke dcd_change ldisc's handler.

2013-09-16 Thread Rodolfo Giometti
On Mon, Sep 16, 2013 at 08:41:00AM +0200, Paul Chavent wrote: The DCD pin of the serial port can receive a PPS signal. By calling the port line discipline dcd handle, this patch allow to monitor PPS through USB serial devices. However the performance aren't as good as the uart drivers, so

Re: usbnet transmit path problems

2013-09-16 Thread Oliver Neukum
On Thu, 2013-09-12 at 09:56 +0800, Ming Lei wrote: On Thu, Sep 12, 2013 at 12:05 AM, David Laight david.lai...@aculab.com wrote: Patches are always welcome, :-) Indeed, I think your patch, if no better alternatives come up soon, should be taken. None of this is helping me sort out why

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-16 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 6:41 PM, Roger Quadros rog...@ti.com wrote: On 09/12/2013 02:26 PM, Vivek Gautam wrote: Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros rog...@ti.com wrote: Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros

[PATCH] fsl/usb: Resolve PHY_CLK_VLD instability issue for ULPI phy

2013-09-16 Thread Ramneek Mehresh
For controller versions greater than 1.6, setting ULPI_PHY_CLK_SEL bit when USB_EN bit is already set causes instability issues with PHY_CLK_VLD bit. So USB_EN is set only for IP controller version below 1.6 before setting ULPI_PHY_CLK_SEL bit Signed-off-by: Ramneek Mehresh

[PATCH v1 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode

2013-09-16 Thread Manu Gautam
Allow userspace to pass SuperSpeed descriptors and handle them in the driver accordingly. This also requires changing usb_functionfs_descs_head to accommodate ss_count i.e. SuperSpeed Descriptors count. Signed-off-by: Manu Gautam mgau...@codeaurora.org --- drivers/usb/gadget/f_fs.c |

[PATCH 0/3] net: usb: cdc_ether: improve telit support and code cleanups

2013-09-16 Thread Fabio Porcedda
Some patches to improve telit modules support and to cleanup the code. Best regards Fabio Porcedda (3): net: usb: cdc_ether: Use wwan interface for Telit modules net: usb: cdc_ether: fix checkpatch errors and warnings net: usb: cdc_ether: use usb.h macros whenever possible

[PATCH 3/3] net: usb: cdc_ether: use usb.h macros whenever possible

2013-09-16 Thread Fabio Porcedda
Use USB_DEVICE_AND_INTERFACE_INFO and USB_VENDOR_AND_INTERFACE_INFO macros to reduce boilerplate. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- drivers/net/usb/cdc_ether.c | 63 - 1 file changed, 17 insertions(+), 46 deletions(-) diff

[PATCH 1/3] net: usb: cdc_ether: Use wwan interface for Telit modules

2013-09-16 Thread Fabio Porcedda
Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: sta...@vger.kernel.org # 3.0+ as far back as it applies cleanly --- drivers/net/usb/cdc_ether.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 03ad4dc..98aef3b

[PATCH 2/3] net: usb: cdc_ether: fix checkpatch errors and warnings

2013-09-16 Thread Fabio Porcedda
Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- drivers/net/usb/cdc_ether.c | 47 +++-- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 98aef3b..c36b1c3 100644 ---

[PATCH V5 1/9] USB: OHCI: make ohci-exynos a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the Samsung OHCI EXYNOS host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena

[PATCH V5 2/9] USB: OHCI: make ohci-omap a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the TI OHCI OMAP1/2 host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena

[PATCH V5 8/9] USB: OHCI: make ohci-ep93xx a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the OHCI EP93XX host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena dsax...@linaro.org

[PATCH V5 9/9] USB: OHCI: make ohci-pxa27x a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the OHCI pxa27x/pxa3xx host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena

[PATCH V5 4/9] USB: OHCI: make ohci-spear a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the ST OHCI SPEAr host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena dsax...@linaro.org

[PATCH V5 6/9] USB: OHCI: make ohci-s3c2410 a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the Samsung OHCI S3C24xx/S3C64xx host controller driver from ohci-hcd host code so that it can be built as a separate driver module.This work is part of enabling multi-platform. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena dsax...@linaro.org

[PATCH V5 5/9] USB: OHCI: make ohci-at91 a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the TI OHCI Atmel host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena dsax...@linaro.org

[PATCH V5 7/9] USB: OHCI: make ohci-nxp a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the OHCI NXP host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Many place function name and struct name started with usb, current scenario replaced usb with ohci for proper

[PATCH V5 3/9] USB: OHCI: make ohci-omap3 a separate driver

2013-09-16 Thread Manjunath Goudar
Separate the TI OHCI OMAP3 host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena dsax...@linaro.org

Re: [PATCH 1/3] net: usb: cdc_ether: Use wwan interface for Telit modules

2013-09-16 Thread Oliver Neukum
On Mon, 2013-09-16 at 11:47 +0200, Fabio Porcedda wrote: Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: sta...@vger.kernel.org # 3.0+ as far back as it applies cleanly Acked-by: Oliver Neukum oli...@neukum.org -- To unsubscribe from this list: send the line unsubscribe linux-usb in

Re: [PATCH 2/3] net: usb: cdc_ether: fix checkpatch errors and warnings

2013-09-16 Thread Oliver Neukum
On Mon, 2013-09-16 at 11:47 +0200, Fabio Porcedda wrote: Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Acked-by: Oliver Neukum oli...@neukum.org -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH 1/1] usb: host: fsl-mph-dr-of: Staticize local symbols

2013-09-16 Thread Sachin Kamat
Local symbols used in this file are made static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Anatolij Gustschin ag...@denx.de --- drivers/usb/host/fsl-mph-dr-of.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/fsl-mph-dr-of.c

Re: [PATCH 3/3] net: usb: cdc_ether: use usb.h macros whenever possible

2013-09-16 Thread Oliver Neukum
On Mon, 2013-09-16 at 11:47 +0200, Fabio Porcedda wrote: Use USB_DEVICE_AND_INTERFACE_INFO and USB_VENDOR_AND_INTERFACE_INFO macros to reduce boilerplate. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Acked-by: Oliver Neukum oli...@neukum.org -- To unsubscribe from this list: send

Re: usbnet transmit path problems

2013-09-16 Thread Ming Lei
On Mon, Sep 16, 2013 at 4:13 PM, Oliver Neukum oli...@neukum.org wrote: On Thu, 2013-09-12 at 09:56 +0800, Ming Lei wrote: On Thu, Sep 12, 2013 at 12:05 AM, David Laight david.lai...@aculab.com wrote: Patches are always welcome, :-) Indeed, I think your patch, if no better alternatives

[PATCH v4 0/2] usb: implement AMD remote wakeup quirk

2013-09-16 Thread Huang Rui
Hi Greg, Sarah, Alan, The following patches are required to resolve remote wake issues with certain devices. Issue description: If the remote wake is issued from the device in a specific timing condition while the system is entering sleep state then it may cause system to auto wake on subsequent

[PATCH v4 2/2] usb: core: implement AMD remote wakeup quirk

2013-09-16 Thread Huang Rui
The following patch is required to resolve remote wake issues with certain devices. Issue description: If the remote wake is issued from the device in a specific timing condition while the system is entering sleep state then it may cause system to auto wake on subsequent sleep cycle. Root cause:

[PATCH v4 1/2] usb: pci-quirks: refactor AMD quirk to abstract AMD chipset types

2013-09-16 Thread Huang Rui
This patch abstracts out a AMD chipset type which includes southbridge generation and its revision. When os excutes usb_amd_find_chipset_info routine to initialize AMD chipset type, driver will know which kind of chipset is used. This update has below benifits: - Driver is able to confirm which

[PATCH] usb: reset endpoint driver data when disabled

2013-09-16 Thread Peter Oh
Gadgets endpoint driver data is a criteria to judge that whether the endpoints are in use or not. When gadget gets assigned an endpoint from endpoint list, they check its driver data if the driver data is NULL. If the driver data is not NULL then they regard it as in use. Therefore all of gadgets

Re: [PATCH v1 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode

2013-09-16 Thread Jack Pham
Hi Manu, An intern working with us here (thanks Peter!) found a bug. On Mon, Sep 16, 2013 at 03:10:14PM +0530, Manu Gautam wrote: @@ -1569,7 +1573,20 @@ static int ffs_func_eps_enable(struct ffs_function *func) spin_lock_irqsave(func-ffs-eps_lock, flags); do {

Re: [PATCH 0/3] net: usb: cdc_ether: improve telit support and code cleanups

2013-09-16 Thread David Miller
From: Fabio Porcedda fabio.porce...@gmail.com Date: Mon, 16 Sep 2013 11:47:49 +0200 Some patches to improve telit modules support and to cleanup the code. Applied. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More

[PATCH 2/8] usb: chipidea: udc: Consolidate the call of disconnect

2013-09-16 Thread Peter Chen
The udc-core will call gadget's driver-disconnect, so we should avoid calling gadget's disconnect again at ci_udc_stop in case the gadget's unbind free some structs which is still used at gadget's disconnect. Tested-by: Marek Vasut ma...@denx.de Signed-off-by: Peter Chen peter.c...@freescale.com

[PATCH 1/8] usb: host: delete chipidea dependency

2013-09-16 Thread Peter Chen
Now, chipidea host has already depended on USB_EHCI_HCD Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/host/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig

[PATCH 3/8] usb: chipidea: udc: fix the oops after rmmod gadget

2013-09-16 Thread Peter Chen
When we rmmod gadget, the ci-driver needs to be cleared. Otherwise, when we plug in usb cable again, the driver will consider gadget is there, and go to enumeration procedure, but in fact, it was removed. ci_hdrc ci_hdrc.0: Connected to host Unable to handle kernel paging request at virtual

[PATCH 4/8] usb: chipidea: Fix memleak for ci-hw_bank.regmap when removal

2013-09-16 Thread Peter Chen
It needs to free ci-hw_bank.regmap explicitly since it is not managed resource. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/core.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c

[PATCH 5/8] usb: chipidea: move platform related things to ci_get_platdata

2013-09-16 Thread Peter Chen
Like vbus, the dr_mode and phy_mode are also got from glue layer's platform data or device node. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/core.c | 19 +-- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git

[PATCH 8/8] usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA

2013-09-16 Thread Peter Chen
From: Geert Uytterhoeven ge...@linux-m68k.org If NO_DMA=y: drivers/built-in.o: In function `dma_set_coherent_mask': include/linux/dma-mapping.h:93: undefined reference to `dma_supported' Reviewed-and-tested-by: Peter Chen peter.c...@freescale.com Signed-off-by: Geert Uytterhoeven

[PATCH 0/8] Misc peding chipidea patches

2013-09-16 Thread Peter Chen
Hi Greg, Below are pending misc chipidea patches, some of them have already reviewed. The similiar Geert's patch for gadget has already at usb-next. For mine, the 1,3,4 are acked by Alex. http://marc.info/?l=linux-usbm=137776283824866w=2 The 7 is acked by Michael Grzeschik

[PATCH 7/8] usb: chipidea: udc: free pending TD at removal procedure

2013-09-16 Thread Peter Chen
There is a pending TD which is not freed after request finishes, we do this due to a controller bug. This TD needs to be freed when the driver is removed. It prints below error message when unload chipidea driver at current code: ci_hdrc ci_hdrc.0: dma_pool_destroy ci_hw_td, b0001000 busy It

[PATCH 6/8] usb: chipidea: imx: Add usb_phy_shutdown at probe's error path

2013-09-16 Thread Peter Chen
If not, the PHY will be active even the controller is not in use. We find this issue due to the PHY's clock refcount is not correct due to -EPROBE_DEFER return after phy's init. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/ci_hdrc_imx.c |7 +-- 1 files