[patch] usb: storage: debug: uninitialized var in usb_stor_show_sense()

2014-11-29 Thread Dan Carpenter
The "fmt" variable might be used uninitialized, it should be set to NULL at the start. Fixes: d811b848ebb7 ('scsi: use sdev as argument for sense code printing') Signed-off-by: Dan Carpenter diff --git a/drivers/usb/storage/debug.c b/drivers/usb/storage/debug.c index 57bf3ad..fd00509 100644 ---

[patch] usb: gadget: udc: missing curly braces

2014-11-29 Thread Dan Carpenter
There were curly braces intended here. Signed-off-by: Dan Carpenter diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c b/drivers/usb/gadget/udc/bdc/bdc_ep.c index 15da5b1..ff67cea 100644 --- a/drivers/usb/gadget/udc/bdc/bdc_ep.c +++ b/drivers/usb/gadget/udc/bdc/bdc_ep.c @@ -457,10 +457,11 @@ stat

[patch] USB: mos7720: delete some unneeded code

2014-11-29 Thread Dan Carpenter
The "status" is uninitialized so this creates a static checker warning. But it's harmless, we can just delete it. Signed-off-by: Dan Carpenter diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 312b0fe..4f70df3 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/u

Re: USB OTG doesn't work in HOST mode on OMAP3 processor on 3.18-rc5

2014-11-29 Thread Felipe Balbi
Hi, On Fri, Nov 28, 2014 at 11:35:53AM +0100, Yegor Yefremov wrote: > On Wed, Nov 19, 2014 at 6:53 PM, Tony Lindgren wrote: > > * Enric Balletbo Serra [141119 03:14]: > >> 2014-11-18 16:42 GMT+01:00 Tony Lindgren : > >> > >> Checked again, and no luck. It's very weird because from the OTG point

Re: [patch] usb: storage: debug: uninitialized var in usb_stor_show_sense()

2014-11-29 Thread James Bottomley
On Sat, 2014-11-29 at 15:48 +0300, Dan Carpenter wrote: > The "fmt" variable might be used uninitialized, it should be set to NULL > at the start. > > Fixes: d811b848ebb7 ('scsi: use sdev as argument for sense code printing') > Signed-off-by: Dan Carpenter Hm, that' falls into the category of an

Re: [Update][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core

2014-11-29 Thread Alan Stern
On Sat, 29 Nov 2014, Rafael J. Wysocki wrote: > > There are also one or two places in Documentation/usb that mention > > CONFIG_PM_RUNTIME. > > I found this in Documentation/usb/power-management.txt: > > "Note: Dynamic PM support for USB is present only if the kernel was > built with CONFIG_US

Re: [PATCH] USB: enable all functions remote wakeup for USB3 composite device

2014-11-29 Thread gre...@linuxfoundation.org
On Sat, Nov 29, 2014 at 04:22:41PM +, Li, Aixiong wrote: > Hi USB maintainers, Your email is sent in html format and rejected by the mailing list, please fix up and try again. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ker

Re: Value Setting of hcd->self.controller->dma_mask in oxu210hp-hcd.c

2014-11-29 Thread Greg KH
On Sat, Nov 29, 2014 at 02:12:30PM -0500, nick wrote: > I get your point. On the other hand, I am trying to help but it seems > impossible with my ban to not do it this way. You were told what to do to get the ban removed, but you for some reason seem to ignore that request. So we will continue t

[PATCH v2 0/3] ARM/usb: add PHY for Lubbock platform

2014-11-29 Thread Dmitry Eremin-Solenikov
This is the second iteration of a compile-tested-only PHY for the Lubbock platform. Could you please take a look and test. Changes since V1: - Switched to using threaded IRQs in a phy - This allowed me to drop workqueue scheduling - Dropped mach/lubbock.h from pxa25x_udc.h header. The following c

[PATCH v2 1/3] ARM: pxa: lubbock: add declaration of vbus tranceiver

2014-11-29 Thread Dmitry Eremin-Solenikov
Add a declaration of lubbock-vbus device, used as UDC transceiver on Lubbock platform. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-pxa/lubbock.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index d8a1be6..5e2dcf7

[PATCH v2 3/3] usb: gadget: drop lubbock-specific code from pxa25x_udc

2014-11-29 Thread Dmitry Eremin-Solenikov
Now, as there is a special phy for lubbock platforms, drop all lubbock-specific code from pxa25x udc driver. It should use phy instead. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/gadget/udc/pxa25x_udc.c | 61 - drivers/usb/gadget/udc/pxa25x_udc.h |

[PATCH v2 2/3] usb: phy: add lubbock phy driver

2014-11-29 Thread Dmitry Eremin-Solenikov
Extract lubbock-specific code from pxa25x_udc driver. As a bonus, phy driver determines connector/VBUS status by reading CPLD register. Also it uses a work to call into udc stack, instead of pinging vbus session right from irq handler. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/phy/K

Re: [PATCH 00/17] USB gadget functions testing, 3.19

2014-11-29 Thread Greg Kroah-Hartman
On Fri, Nov 28, 2014 at 02:57:33PM +0100, Andrzej Pietrasiewicz wrote: > This series adds a documentation file whith a summary of how to do basic > testing of functions provided by USB gadgets. > > @Greg: Felipe's tree is closed, so can you consider this series for 3.19? > It does not add any code

Re: [Update][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core

2014-11-29 Thread Rafael J. Wysocki
On Saturday, November 29, 2014 12:34:36 PM Alan Stern wrote: > On Sat, 29 Nov 2014, Rafael J. Wysocki wrote: > > > > There are also one or two places in Documentation/usb that mention > > > CONFIG_PM_RUNTIME. > > > > I found this in Documentation/usb/power-management.txt: > > > > "Note: Dynamic

[Update 2x][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core

2014-11-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so quite a few #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM (or even dropped in some cases). Replace CONFIG_PM_

Re: [PATCH v2 2/3] usb: phy: add lubbock phy driver

2014-11-29 Thread Jeremiah Mahler
Dmitry, On Sun, Nov 30, 2014 at 01:02:04AM +0300, Dmitry Eremin-Solenikov wrote: > Extract lubbock-specific code from pxa25x_udc driver. As a bonus, phy > [] > diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig > index 0cd1f44..98b1682 100644 > --- a/drivers/usb/phy/Kconfig > +++ b/dr

Re: Is this 32-bit NCM?

2014-11-29 Thread Enrico Mioso
Hi guys. Sorry for the late our but ... I was trying to figure out something new about this dongle. I also searched for it in my city shops without finding it actually. But then I came back and ... tried to look at some things. Alex, Kevin: in the Windows USB captures you sent me (and that I sent

[PATCH] USB: enable all functions remote wakeup for USB3 composite device

2014-11-29 Thread Li, Aixiong
Hi USB maintainers, I found one problem for remote wakeup of USB3 composite device when I tested remote wakeup functionality for Intel LTE modem. This LTE modem is USB3 composite device, it cannot generate remote wakeup except the 1st function. After check the USB 3.0 spec and current LINUX dri

RE: [PATCH] USB: enable all functions remote wakeup for USB3 composite device

2014-11-29 Thread Li, Aixiong
Hi all, The patch format still have some problem since I copied it from the html mail. I fix it in this mail. :) Aixiong. >From 636a5ed9fbdab1a90945b1555ae765fc8d0232e6 Mon Sep 17 00:00:00 2001 From: Li Aixiong Date: Fri, 7 Nov 2014 12:53:01 +0800 Subject: [PATCH] USB: enable all functions rem