Re: [V9 PATCH 01/12] usb: phy: protect phy init and shutdown for mutiple deivces

2013-05-06 Thread Chao Xie
On Tue, Apr 30, 2013 at 2:24 AM, Felipe Balbi wrote: > On Wed, Apr 24, 2013 at 02:23:15AM -0400, Chao Xie wrote: >> diff --git a/include/linux/usb/phy.h b/include/linux/usb/phy.h >> index 6b5978f..98d7e60 100644 >> --- a/include/linux/usb/phy.h >> +++ b/include/linux/usb/phy.h >> @@ -87,6 +87,14 @

XHCI and USB 2 soundcard

2013-05-06 Thread Aurélien Leblond
Hello all, I have two usb soundcards at home and my laptop has both EHCI and XHCI usb ports. The M-Audio Fast-Track Ultra (USB 2) is not recognized by ALSA when plugged on a USB 3 (XHCI) port on the kernel 3.9. I'm trying to figure out where the problem lies to report the issue to the proper tea

[PATCH] USB: Blacklisted Cinterion's PLxx WWAN Interface

2013-05-06 Thread Schemmel Hans-Christoph
/drivers/usb/serial/option.c: Blacklisted Cinterion's PLxx WWAN Interface (USB Interface 4), because it will be handled by QMI WWAN driver. Product IDs renamed. Signed-off-by: Hans-Christoph Schemmel --- patch is against linux-3.9 --- linux-3.9/drivers/usb/serial/option.c.orig 2013-05-06 07:54

[PATCH 01/11] USB: ehci-mv: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 02/11] USB: ehci-mxc: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 03/11] USB: ehci-octeon: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 04/11] USB: ehci-sead3: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 05/11] USB: ehci-sh: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 06/11] USB: ehci-platform: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 07/11] USB: ohci-jz4740: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 08/11] USB: ohci-pxa27x: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 09/11] USB: ohci-sm501: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 11/11] USB: ohci-platform: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 10/11] USB: ohci-spear: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

Re: [PATCH 1/2] usb: gadget/uvc: remove connect/disconnect calls on open/release

2013-05-06 Thread Vladimir Zapolskiy
Hi, On 05/04/13 21:22, Bhupesh SHARMA wrote: Hi, On 5/3/2013 6:00 PM, Vladimir Zapolskiy wrote: Hi Laurent, thank you for the comment. On 05/03/13 02:05, Laurent Pinchart wrote: Hi Vladimir, On Friday 03 May 2013 02:00:29 Vladimir Zapolskiy wrote: On 05/03/13 01:18, Laurent Pinchart wrote

[PATCH 1/7] usb: gadget: atmel_usba_udc: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Nicolas Ferre --- drivers/usb/gadget/atmel_usba_udc.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/atme

[PATCH 2/7] usb: gadget: bcm63xx_udc: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Kevin Cernekee --- drivers/usb/gadget/bcm63xx_udc.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/bcm63xx_

[PATCH 3/7] usb: gadget: dummy_hcd: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Alan Stern --- drivers/usb/gadget/dummy_hcd.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/dummy_hcd.c b/

[PATCH 4/7] usb: gadget: f_uac2: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Jaswinder Singh --- drivers/usb/gadget/f_uac2.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/f_uac2.c b

[PATCH 5/7] usb: gadget: imx_udc: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Darius Augulis --- drivers/usb/gadget/imx_udc.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/imx_udc.c

[PATCH 6/7] usb: gadget: pxa25x_udc: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Eric Miao --- drivers/usb/gadget/pxa25x_udc.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/pxa25x_udc.c b

[PATCH 7/7] usb: gadget: s3c2410_udc: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/usb/gadget/s3c2410_udc.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/us

Re: [PATCH 1/7] usb: gadget: atmel_usba_udc: Remove redundant platform_set_drvdata()

2013-05-06 Thread Nicolas Ferre
On 06/05/2013 13:37, Sachin Kamat : Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Nicolas Ferre Acked-by: Nicolas Ferre --- drivers/usb/gadget/atmel_usba_udc.c |2 --

[PATCH 1/5] usb: phy: ab8500-usb: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/usb/phy/phy-ab8500-usb.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/us

[PATCH 2/5] usb: phy: gpio-vbus-usb: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Philipp Zabel --- drivers/usb/phy/phy-gpio-vbus-usb.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/phy/phy-gpi

[PATCH 3/5] usb: phy: mv-usb: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Chao Xie --- drivers/usb/phy/phy-mv-usb.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/phy/phy-mv-usb.c b/dri

[PATCH 4/5] usb: phy: mxs-usb: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Marek Vasut --- drivers/usb/phy/phy-mxs-usb.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/phy/phy-mxs-usb.c b

[PATCH 5/5] usb: phy: nop: Remove redundant platform_set_drvdata()

2013-05-06 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/usb/phy/phy-nop.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.

Bug in xhci_hcd? Related to powersave mode?

2013-05-06 Thread Keks Dose
Dear all, I use an external 2.5'' HD for backups, filesystem is btrfs. System: openSuse 12.3, kernel 3.8.9, but the bug ocurred earlier, at least it was present in 12.2: If I connect the cable to the USB 3.0 port of my notebook (Thinkpad T 420s), up and running KDE, the HD (as well capable of

Re: [PATCH 4/5] usb: phy: mxs-usb: Remove redundant platform_set_drvdata()

2013-05-06 Thread Marek Vasut
Dear Sachin Kamat, fixing CC here > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > Cc: Marek Vasut > --- > drivers/usb/phy/phy-mxs-usb.c |2 -- > 1 file changed, 2 dele

Re: [PATCH 4/7] usb: gadget: f_uac2: Remove redundant platform_set_drvdata()

2013-05-06 Thread Jassi Brar
On 6 May 2013 17:07, Sachin Kamat wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > Cc: Jaswinder Singh Acked-by: Jaswinder Singh -- To unsubscribe from this list: sen

[PATCH 01/13] usb: chipidea: ci13xxx_imx: Let device core handle pinctrl

2013-05-06 Thread Fabio Estevam
Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for handling pinctrl. So remove devm_pinctrl_get_select_default() from the driver. Cc: Alexander Shishkin Cc: Signed-off-by: Fabio Estevam --- drivers/usb/chipidea/ci13xxx_imx.c |7 -

Re: XHCI and USB 2 soundcard

2013-05-06 Thread Alan Stern
On Mon, 6 May 2013, [ISO-8859-1] Aur�lien Leblond wrote: > Hello all, > > I have two usb soundcards at home and my laptop has both EHCI and XHCI > usb ports. > > The M-Audio Fast-Track Ultra (USB 2) is not recognized by ALSA when > plugged on a USB 3 (XHCI) port on the kernel 3.9. > > I'm tryin

Re: [PATCH v3 net-next] net/usb: new driver for RTL8152

2013-05-06 Thread David Miller
From: Hayes Wang Date: Fri, 3 May 2013 10:01:25 +0800 > Add new driver for supporting Realtek RTL8152 Based USB 2.0 Ethernet Adapters > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel

[PATCH] option: add device IDs for Dell 5804 (Novatel E371) WWAN card

2013-05-06 Thread Dan Williams
A rebranded Novatel E371 for AT&T's LTE bands. Cc: Signed-off-by: Dan Williams --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 7343728..58cbb94 100644 --- a/drivers/usb/serial/option.c +++ b/dr

RE: [PATCH 04/11] USB: ehci-sead3: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Steven J. Hill
Tested and works fine. Thank you. Acked-by: Steven J. Hill -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/2 v6 RESEND] usbnet: allow status interrupt URB to always be active

2013-05-06 Thread Dan Williams
Some drivers (sierra_net) need the status interrupt URB active even when the device is closed, because they receive custom indications from firmware. Add functions to refcount the status interrupt URB submit/kill operation so that sub-drivers and the generic driver don't fight over whether the sta

[PATCH 2/2 v6 RESEND] sierra_net: keep status interrupt URB active

2013-05-06 Thread Dan Williams
The driver and firmware sync up through SYNC messages, and the firmware's affirmative reply to these SYNC messages appears to be the "Reset" indication received via the status interrupt endpoint. Thus the driver needs the status interrupt endpoint always active so that the Reset indication can be

Re: Removing vestiges of CONFIG_USB_SUSPEND

2013-05-06 Thread Kevin Hilman
Hi Alan, Alan Stern writes: > Felipe and Kevin: > > While removing the remaining usages of USB_SUSPEND (things that I > missed in the original patch), I noticed that > arch/arm/configs/omap2plus_defconfig does not enable PM_RUNTIME -- even > though it currently does enable USB_SUSPEND, which dep

Re: [PATCH 0/2] usb: gadget/uvc: remove connect/disconnect calls on open/release

2013-05-06 Thread Peter Chen
On Fri, May 3, 2013 at 6:13 AM, Vladimir Zapolskiy wrote: > This change removes calls of uvc_function_connect()/uvc_function_disconnect() > functions from open()/close() syscalls. > > This is a bugfix in g_webcam module, in some test scenarios (e.g. UDC in > suspend mode or OTG in host mode) strai

Re: [PATCH 1/2] usb: gadget/uvc: remove connect/disconnect calls on open/release

2013-05-06 Thread Laurent Pinchart
Hi Michael, On Friday 03 May 2013 10:37:40 Michael Grzeschik wrote: > Hi Laurent, > > On Fri, May 03, 2013 at 01:20:15AM +0200, Laurent Pinchart wrote: > [snip] > > > I'm open to suggestions :-) What features of the userspace application do > > you think could (and should) be moved to kernelspac

Re: [PATCH 1/2] usb: gadget/uvc: remove connect/disconnect calls on open/release

2013-05-06 Thread Laurent Pinchart
Hi Peter, On Monday 06 May 2013 10:35:25 Peter Chen wrote: > On Sun, May 5, 2013 at 2:22 AM, Bhupesh SHARMA wrote: [snip] > > The whole point of having a user-space application governing the behavior > > of UVC webcam gadget as per commands from a UVC host is to plug the same > > with a real vid