[PATCH 3/3] usb: phy-twl6030: Add missing braces

2013-12-21 Thread Sachin Kamat
Silences the below warning: WARNING: sizeof *twl should be sizeof(*twl) Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/usb/phy/phy-twl6030-usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-twl6030-usb.c

[PATCH 1/3] usb: phy-keystone: Remove redundant of_match_ptr helper

2013-12-21 Thread Sachin Kamat
'keystone_usbphy_ids' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: WingMan Kwok w-kw...@ti.com --- drivers/usb/phy/phy-keystone.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/3] usb: phy-fsm: Staticize local symbols

2013-12-21 Thread Sachin Kamat
Local symbols appearing only in this file are made static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/usb/phy/phy-fsm-usb.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c index

[PATCH] drivers: dwc2: Mark function as static in core.c

2013-12-21 Thread Rashika Kheria
Mark function dwc2_set_param_uframe_sched() as static in core.c because it is not used outside this file. This eliminates the following warning in core.c: drivers/staging/dwc2/core.c:2739:5: warning: no previous prototype for ‘dwc2_set_param_uframe_sched’ [-Wmissing-prototypes] Signed-off-by:

Re: [PATCH v7 2/2] usb-serial: Moxa UPORT 12XX/14XX/16XX driver

2013-12-21 Thread Johan Hovold
On Thu, Dec 19, 2013 at 08:59:49PM +0100, Andrew Lunn wrote: + * endpoint, with a multiplex header. The second bulk in is + * used for events. Throw away all but the first two bulk in + * urbs. + */ + for (i = 2; i serial-num_bulk_in; ++i) { + port = serial-port[i];

Re: [PATCH] drivers: dwc2: Mark function as static in core.c

2013-12-21 Thread Josh Triplett
On Sat, Dec 21, 2013 at 03:50:29PM +0530, Rashika Kheria wrote: Mark function dwc2_set_param_uframe_sched() as static in core.c because it is not used outside this file. This eliminates the following warning in core.c: drivers/staging/dwc2/core.c:2739:5: warning: no previous prototype for

CDC-ACM: how to disable the automatic read?

2013-12-21 Thread Yingchun Li
Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple Application to write data to the box by ttyACM0. The application is a loop that write the data to box, and waiting for the box response the data. The question is , after wrote the data to the box, the box will process the

Re: [PATCH] usb: cdc-wdm: avoid hanging on zero length reads

2013-12-21 Thread Thomas Schäfer
Hi Bjørn, it seems to me that this patch solved some problems. ( time out ) Some other problems introduced in 3.13 are still there. mbim wwan and dhcpv4 does not work (worked in 3.12) K5150 huawai ncm wwan and dhcpv4 does not work (ncm worked in 3.12) E5776 Unfortunately I can not test

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-21 Thread Holger Hans Peter Freyther
On Fri, Dec 20, 2013 at 03:41:36PM -0800, Sarah Sharp wrote: The first one fixes an issue where userspace tries to reset a USB endpoint when it's not actually halted: http://marc.info/?l=linux-usbm=138116117104619w=2 Try applying them to the latest kernel and see if they fix your issue.

[PATCH v8 2/2] usb-serial: Moxa UPORT 12XX/14XX/16XX driver

2013-12-21 Thread Andrew Lunn
Add a driver which supports the following Moxa USB to serial converters: * 2 ports : UPort 1250, UPort 1250I * 4 ports : UPort 1410, UPort 1450, UPort 1450I * 8 ports : UPort 1610-8, UPort 1650-8 * 16 ports : UPort 1610-16, UPort 1650-16 The UPORT devices don't directy fit

[PATCH v8 1/2] tty: Add C_CMSPAR(tty)

2013-12-21 Thread Andrew Lunn
Add the missing C_CMSPAR(tty) macro. Signed-off-by: Andrew Lunn and...@lunn.ch --- include/linux/tty.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/tty.h b/include/linux/tty.h index 97d660ed70c1..e53e90ed3f19 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@

Re: [RFC PATCH 0/4] port warm reset recovery

2013-12-21 Thread Alan Stern
On Fri, 20 Dec 2013, Dan Williams wrote: Both the suspected quirky Synopsys xHC [1] and the port-pm-runtime-resume path need to issue warm resets to reliably bring ports back to an operational state. Per Alan's observation this also arranges for these warm resets to be queued asynchronously.

Re: CDC-ACM: how to disable the automatic read?

2013-12-21 Thread Greg KH
On Sat, Dec 21, 2013 at 08:19:36PM +0800, Yingchun Li wrote: Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple Application to write data to the box by ttyACM0. The application is a loop that write the data to box, and waiting for the box response the data. The

Re: [PATCH] Watchdog: pcwd_usb: remove CONFIG_USB_DEBUG usage

2013-12-21 Thread Guenter Roeck
On 12/19/2013 03:44 PM, Greg Kroah-Hartman wrote: From: Greg Kroah-Hartman gre...@linuxfoundation.org CONFIG_USB_DEBUG is going away, and all of the other USB drivers no longer rely on debug module parameters for debugging lines, so move the pcwd_usb driver to use the dynamic debug

[PATCH 3/3] usb: phy: fix some Kconfig descriptions

2013-12-21 Thread Aaro Koskinen
Some module names are not up to date in Kconfig help texts. Fix that. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/usb/phy/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index

[PATCH 1/3] usb: phy-tahvo: fix smatch warnings

2013-12-21 Thread Aaro Koskinen
phy-tahvo introduced the following smatch warnings: drivers/usb/phy/phy-tahvo.c:203 tahvo_usb_set_host() warn: variable dereferenced before check 'otg' (see line 199) drivers/usb/phy/phy-tahvo.c:235 tahvo_usb_set_peripheral() warn: variable dereferenced before check 'otg' (see line 231) Fix by

[PATCH 2/3] usb: phy-isp1301-omap: fix smatch warnings

2013-12-21 Thread Aaro Koskinen
phy-isp1301-omap produces the following smatch warnings: drivers/usb/phy/phy-isp1301-omap.c:1280 isp1301_set_host() warn: variable dereferenced before check 'otg' (see line 1278) drivers/usb/phy/phy-isp1301-omap.c:1336 isp1301_set_peripheral() warn: variable dereferenced before check 'otg' (see

[PATCH 0/3] usb: minor phy fixes

2013-12-21 Thread Aaro Koskinen
Hi, Here's some minor fixes for next/3.14. Aaro Koskinen (3): usb: phy-tahvo: fix smatch warnings usb: phy-isp1301-omap: fix smatch warnings usb: phy: fix some Kconfig descriptions drivers/usb/phy/Kconfig| 6 +++--- drivers/usb/phy/phy-isp1301-omap.c | 9 -

Re: [RFC 0/2] target refcounting infrastructure fixes for usb

2013-12-21 Thread Alan Stern
On Fri, 20 Dec 2013, Sarah Sharp wrote: On Thu, Dec 19, 2013 at 11:48:47AM -0800, James Bottomley wrote: It should apply incrementally on top of the previous two. If it actually works, I'll fold it into the first patch. Well, it doesn't oops anymore, but it does generate a pile of

Re: [GIT PULL] xhci: Cleanups, non-urgent fixes for 3.14.

2013-12-21 Thread Greg Kroah-Hartman
On Fri, Dec 20, 2013 at 03:01:15PM -0800, Sarah Sharp wrote: The following changes since commit 3d724fa513cd1bd06d3457ccda36941f3606d048: USB: emi62: Provide the correct bitstream firmware (2013-12-10 22:38:45 -0800) are available in the git repository at:

[PATCH v2] usb: musb: Rework USB and USB_GADGET dependency

2013-12-21 Thread Ezequiel Garcia
This USB controller can work in as host-only, gadget-only or dual-role modes. Rework the dependency on the USB and USB_GADGET configs in order to allow building the driver when !USB or !USG_GADGET. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- Changes from v1: * Rework

AM335x USB DMA seems broken on ISOC URBs

2013-12-21 Thread Ezequiel Garcia
Hello, While doing some experiments with the stk1160 driver (for Easycap TV video capture devices), ran into problems using v3.13-rc4. The problem is that the stk1160 IRQ handler receives no URBs at all. When configuring with CONFIG_MUSB_PIO_ONLY this looks solved, but the bandwidth requirements

Re: [PATCH v1] xhci: Switch Intel Lynx Point ports to EHCI on shutdown

2013-12-21 Thread Denis Turischev
On 12/21/2013 01:45 AM, Sarah Sharp wrote: On Fri, Dec 20, 2013 at 12:41:11PM +0200, Denis Turischev wrote: Also, which kernel are you experiencing this issue on? In 3.12, I queued a separate patch to deal with spurious reboot issues on Lynx Point: commit