Re: octeon-usb and dwc2 in staging are for the same hw

2013-08-17 Thread Sebastian Andrzej Siewior
On 08/17/2013 01:18 AM, Aaro Koskinen wrote: > Looking more into this (and after a failed testing attempt), I don't think > we can simply delete octeon-usb if we want to keep supporting Octeon: > there's also Octeon-specific registers of which the driver needs to > take care of before/while using D

Re: [PATCH 1/3] of: add vendor prefix for Mentor Graphics

2013-08-17 Thread Sebastian Andrzej Siewior
On 08/17/2013 12:52 AM, Stephen Warren wrote: > On 08/15/2013 07:13 AM, Sebastian Andrzej Siewior wrote: >> This prefix is currently used for the musb driver. > >> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt >> b/Documentation/devicetree/bindings/vendor-prefixes.txt > >> +

RE: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-17 Thread Kukjin Kim
Tomasz Figa wrote: [...] > > > > > > > > > > Basically, this series looks good to me, but I'm not sure how this > > > > > should be handled because of dependency with PWM cleanup and clk > > > > > stuff > > > > > in clk tree now... > > > > > > > > Patches 1-3 can go into the clk tree. 4-6 should

Re: [PATCH 5/6] for fixing xhci_readl call in xhci_hub.c after removing xhci_hcd from function definition

2013-08-17 Thread Dan Carpenter
Wait what? Why did we break the build in the first place? regards, dan carpenter -- 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

Re: I: Sierra.c USB Serial Driver FAQ/Feature Request

2013-08-17 Thread Forest Bond
Hi, On Thu, Aug 15, 2013 at 03:31:40PM -0500, Dan Williams wrote: > On Thu, 2013-08-15 at 10:47 -0500, Peter Hyman wrote: > > On 08/15/2013 09:47 AM, Dan Williams wrote: > > > On Thu, 2013-08-15 at 11:02 +0200, Bjørn Mork wrote: > > >> Peter Hyman writes: > > >> > > >>> On 08/14/2013 01:42 PM, Bj

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

2013-08-17 Thread Tomasz Figa
Hi Manjunath, On Monday 12 of August 2013 12:17:00 Manjunath Goudar wrote: > 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 > kernels on ARM;it would be ni

Re: octeon-usb and dwc2 in staging are for the same hw

2013-08-17 Thread Aaro Koskinen
On Fri, Aug 16, 2013 at 08:02:27PM -0700, Greg KH wrote: > dcw2 already supports different boards/systems, so perhaps there's a way > to tie your board into that? It doesn't get very far: External DMA Mode not supported dwc2_hcd_init() FAILED, returning -22 A. -- To unsubscribe f

[Bug] [Sony VAIO SVT15117CXS] USB 2.0 ports not working with any USB device

2013-08-17 Thread Kevin Archer
Issue similar to Ming Lei post of June 26th 2013 USB 2.0 ports "appear" to operate correctly in 2.6.33 and 2.6.39 but not after going to 3.1 See detailed log in below link: https://bugs.launchpad.net/bugs/1210858 Thank you -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 5/6] for fixing xhci_readl call in xhci_hub.c after removing xhci_hcd from function definition

2013-08-17 Thread Dan Carpenter
On Fri, Aug 16, 2013 at 12:24:34PM -0700, Sarah Sharp wrote: > In general, please keep the short descriptions of your patches (which > turn into the subject lines of your mails) limited to around 55 > characters. 55 is a very austere limit. I've been telling people 72 character the same as email.

[PATCH v1 02/49] USB: sg: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Alan Stern Signed-off-by: Ming Lei --- drivers/usb/core/message.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 82927e

[PATCH v1 00/49] USB: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Hi, As we are going to run URB->complete() in tasklet context[1][2], and hard interrupt may be enabled when running URB completion handler[3], so we might need to disable interrupt when acquiring one lock in the completion handler for the below reasons: - URB->complete() holds a subsystem wide lo

[PATCH v1 04/49] USB: cdc-wdm: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Oliver Neukum Signed-off-by: Ming Lei --- drivers/usb/class/cdc-wdm.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-

[PATCH v1 01/49] USB: skeleton: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/usb/usb-skeleton.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c index ff97652..1743006

[PATCH v1 03/49] USB: devio: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Alan Stern Signed-off-by: Ming Lei --- drivers/usb/core/devio.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 737e3c1..826

[PATCH v1 07/49] USB: misc: uss720: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so prepare for the comming change. Signed-off-by: Ming Lei --- drivers/usb/misc/uss720.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c index 40ef40a..b2e76fa 100644

[PATCH v1 05/49] USB: usblp: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Pete Zaitcev Signed-off-by: Ming Lei --- drivers/usb/class/usblp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp

[PATCH v1 06/49] USB: adutux: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Lisa Nguyen Signed-off-by: Ming Lei --- drivers/usb/misc/adutux.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index 3ea

[PATCH v1 08/49] USB: iowarrior: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/usb/misc/iowarrior.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c index d36f34e..010ed6d

[PATCH v1 14/49] USB: serial: io_edgeport: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/io_edgeport.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/seri

[PATCH v1 16/49] USB: serial: mos7720: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/mos7720.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c inde

[PATCH v1 15/49] USB: serial: io_ti: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/io_ti.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 9c18

[PATCH v1 17/49] USB: serial: mos77840: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/mos7840.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c inde

[PATCH v1 12/49] USB: serial: cyberjack: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Matthias Bruestle and Harald Welte Signed-off-by: Ming Lei --- drivers/usb/serial/cyberjack.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/usb/serial/cyberjack.c

[PATCH v1 10/49] USB: legousbtower: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Juergen Stuber Signed-off-by: Ming Lei --- drivers/usb/misc/legousbtower.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousb

[PATCH v1 09/49] USB: ldusb: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/usb/misc/ldusb.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index b1d5953..76ab55a 100644 --

[PATCH v1 13/49] USB: serial: digi_acceleportldusb: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Peter Berger Cc: Al Borchers Signed-off-by: Ming Lei --- drivers/usb/serial/digi_acceleport.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/usb/serial/

[PATCH v1 18/49] USB: serial: quatech2: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/quatech2.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/quatech2.c b/drivers/usb/serial/quatech2.c i

[PATCH v1 11/49] USB: usbtest: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/usb/misc/usbtest.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index aa28ac8..14277f8

[PATCH v1 20/49] USB: serial: symbolserial: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/symbolserial.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/symbolserial.c b/drivers/usb/serial/sym

[PATCH v1 22/49] USB: serial: usb_wwan: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/usb_wwan.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c i

[PATCH v1 21/49] USB: serial: ti_usb_3410_5052: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/ti_usb_3410_5052.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/us

[PATCH v1 19/49] USB: serial: sierra: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Johan Hovold Signed-off-by: Ming Lei --- drivers/usb/serial/sierra.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c ind

[PATCH v1 23/49] hid: usbhid: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Jiri Kosina Cc: linux-in...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/hid/usbhid/hid-core.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/hid/usbhid/hid-core.c b/

[PATCH v1 25/49] BT: bfusb: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to read_lock_irqsave(). Cc: Marcel Holtmann Cc: Gustavo Padovan Cc: Johan Hedberg Cc: linux-blueto...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/bluetooth/bfusb.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletion

[PATCH v1 26/49] input: cm109: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/input/misc/cm109.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/input/misc/cm109.c

[PATCH v1 24/49] BT: btusb: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Marcel Holtmann Cc: Gustavo Padovan Cc: Johan Hedberg Cc: linux-blueto...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/bluetooth/btusb.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) d

[PATCH v1 28/49] USBNET: cdc-phonet: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/usb/cdc-phonet.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/cdc-phonet.c b/drivers/net/usb/cdc-phon

[PATCH v1 30/49] USBNET: kaweth: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/usb/kaweth.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index

[PATCH v1 29/49] USBNET: hso: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/usb/hso.c | 38 ++ 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/drivers/net/usb/hso.c b/dri

[PATCH v1 27/49] ISDN: hfcsusb: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Karsten Keil Cc: "David S. Miller" Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/isdn/hardware/mISDN/hfcsusb.c | 36 ++--- 1 file changed, 20 insertions(+), 16 de

[PATCH v1 31/49] USBNET: rtl8150: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/usb/rtl8150.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c inde

[PATCH v1 32/49] wireless: ath9k: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: "Luis R. Rodriguez" Cc: "John W. Linville" Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/wireless/ath/ath9k/hif_usb.c | 29 ++-

[PATCH v1 35/49] wireless: libertas: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: "John W. Linville" Cc: libertas-...@lists.infradead.org Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/wireless/libertas/if_usb.c |5 +++-- 1 file chan

[PATCH v1 34/49] wireless: ath: carl9170: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Christian Lamparter Cc: "John W. Linville" Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/wireless/ath/carl9170/rx.c |5 +++-- 1 file changed, 3 inser

[PATCH v1 33/49] wireless: zd1211rw: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Daniel Drake Cc: Ulrich Kunitz Cc: "John W. Linville" Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/wireless/zd1211rw/zd_usb.c | 21 --

[PATCH v1 38/49] media: usb: em28xx: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Reviewed-by: Devin Heitmueller Tested-by: Devin Heitmueller Signed-off-by: Ming Lei --- drivers/media/usb/em28xx/em28xx-core.c |5 +++-- 1 file change

[PATCH v1 45/49] sound: usb: caiaq: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-de...@alsa-project.org Acked-by: Daniel Mack Signed-off-by: Ming Lei --- sound/usb/caiaq/audio.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -

[PATCH v1 39/49] media: usb: sn9x102: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/media/usb/sn9c102/sn9c102_core.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/m

[PATCH v1 43/49] media: usb: em28xx: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so add local_irq_save() before acquiring the lock without irqsave(). Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/media/usb/em28xx/em28xx-audio.c |5 +++-- 1 file changed, 3 insertions(+), 2 dele

[PATCH v1 37/49] media: usb: cx231xx: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: linux-me...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/media/usb/cx231xx/cx231xx-audio.c | 10 ++ drivers/media/usb/cx231xx/cx231xx-core.c | 10

[PATCH v1 46/49] staging: btmtk_usb: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/staging/btmtk_usb/btmtk_usb.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c b/drivers/staging/btmtk_usb/btmtk_

[PATCH v1 42/49] media: dvb-core: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). These functions may be called inside URB->complete(), so use spin_lock_irqsave(). Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/media/dvb-core/dvb_demux.c | 17 +++

[PATCH v1 36/49] wireless: libertas_tf: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: "John W. Linville" Cc: libertas-...@lists.infradead.org Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/net/wireless/libertas_tf/if_usb.c |6 -- 1 file

[PATCH v1 41/49] media: usb: tm6000: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/media/usb/tm6000/tm6000-video.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/medi

[PATCH v1 44/49] sound: usb: midi: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Clemens Ladisch Cc: alsa-de...@alsa-project.org Signed-off-by: Ming Lei --- sound/usb/midi.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/so

[PATCH v1 40/49] media: usb: tlg2300: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Ming Lei --- drivers/media/usb/tlg2300/pd-alsa.c |5 +++-- drivers/media/usb/tlg2300/pd-video.c |5 +++-- 2 files changed, 6 inserti

[PATCH v1 48/49] staging: ced1401: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/staging/ced1401/usb1401.c | 35 +++ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/

[PATCH v1 47/49] staging: bcm: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/staging/bcm/InterfaceRx.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm/InterfaceRx.c b/drivers/staging/bcm/InterfaceRx.c index

[PATCH v1 49/49] staging: vt6656: prepare for enabling irq in complete()

2013-08-17 Thread Ming Lei
Complete() will be run with interrupt enabled, so change to spin_lock_irqsave(). Signed-off-by: Ming Lei --- drivers/staging/vt6656/usbpipe.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index

Re: [PATCH v1 05/49] USB: usblp: prepare for enabling irq in complete()

2013-08-17 Thread Pete Zaitcev
On Sun, 18 Aug 2013 00:24:30 +0800 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Signed-off-by: Pete Zaitcev > Signed-off-by: Ming Lei Still looks good. -- P -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in

Re: [PATCH 1/6] drivers:usb:host:xhci.h Removing xhci_hcd from argument

2013-08-17 Thread Kumar Gaurav
On Saturday 17 August 2013 12:19 PM, Julia Lawall wrote: On Sat, 17 Aug 2013, Kumar Gaurav wrote: On Saturday 17 August 2013 12:30 AM, Greg KH wrote: On Sat, Aug 17, 2013 at 12:18:42AM +0530, Kumar Gaurav wrote: Removed struct xhci_hcd from xhci_readl fucntion as it's no more in use. --- d

RE: octeon-usb and dwc2 in staging are for the same hw

2013-08-17 Thread Paul Zimmerman
> From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] > Sent: Saturday, August 17, 2013 8:39 AM > > On Fri, Aug 16, 2013 at 08:02:27PM -0700, Greg KH wrote: > > dcw2 already supports different boards/systems, so perhaps there's a way > > to tie your board into that? > > It doesn't get very far: >

Re: I: Sierra.c USB Serial Driver FAQ/Feature Request

2013-08-17 Thread Forest Bond
Hi, On Sat, Aug 17, 2013 at 03:47:48PM +0200, Oleksij Rempel wrote: > Am 17.08.2013 14:53, schrieb Forest Bond: > >Hi, > > > >On Thu, Aug 15, 2013 at 03:31:40PM -0500, Dan Williams wrote: > >>On Thu, 2013-08-15 at 10:47 -0500, Peter Hyman wrote: > >>>On 08/15/2013 09:47 AM, Dan Williams wrote: > >

[PATCH v2 3/4] staging: usbip: properly handle "-l" / "--log" option

2013-08-17 Thread Anthony Foiani
This option is in the long options list, and it's handled in the option processing loop, but the optstring didn't include it. Signed-off-by: Anthony Foiani --- drivers/staging/usbip/userspace/src/usbip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/usbip/us

[PATCH v2 2/4] staging: usbip: set usbipd server port via "-t" / "--tcp-port" option.

2013-08-17 Thread Anthony Foiani
Add an option "-t" / "--tcp-port" to specify the TCP port to listen on. Signed-off-by: Anthony Foiani --- drivers/staging/usbip/userspace/src/usbip.c| 9 +-- .../staging/usbip/userspace/src/usbip_network.c| 30 ++ .../staging/usbip/userspace/src/usbip_network

[PATCH v2 4/4] staging: usbip: fix up alignment in long options list

2013-08-17 Thread Anthony Foiani
Re-align the option lists. Signed-off-by: Anthony Foiani --- drivers/staging/usbip/userspace/src/usbip.c | 8 drivers/staging/usbip/userspace/src/usbipd.c | 12 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/usbip/userspace/src/usbip.c b

[PATCH v2 1/4] staging: usbip: add "-P" / "--pid" option to save usbipd process id

2013-08-17 Thread Anthony Foiani
Introduce option "-P" / "--pid" to request that usbipd save its PID to a file while running. Signed-off-by: Anthony Foiani --- drivers/staging/usbip/userspace/src/usbipd.c | 40 +++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/drivers/staging/usbip/users

[PATCH v2 0/4] staging: usbip: minor features and bug fix

2013-08-17 Thread Anthony Foiani
In the course of adapting the USBIP tools to our project, I added a few features: * Specify USBIP TCP/IP port number for 'usbip' and 'usbipd' * Request that 'usbipd' write its process id to a file I did some minor cleaning along the way: some checkpatch, later to repair alignments broken while

Re: octeon-usb and dwc2 in staging are for the same hw

2013-08-17 Thread Greg KH
On Sat, Aug 17, 2013 at 08:44:18PM +, Paul Zimmerman wrote: > > From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] > > Sent: Saturday, August 17, 2013 8:39 AM > > > > On Fri, Aug 16, 2013 at 08:02:27PM -0700, Greg KH wrote: > > > dcw2 already supports different boards/systems, so perhaps there'

Re: I: Sierra.c USB Serial Driver FAQ/Feature Request

2013-08-17 Thread Peter Hyman
On 08/17/2013 04:58 PM, Forest Bond wrote: snip... > Okay, I published it here: > > http://www.alittletooquiet.net/media/2131024%20CDMA%20EVDO%20CnS%20Reference.pdf > > For the record, the document states its license as follows: > > http://creativecommons.org/licenses/by-nd/3.0/us/ > > You

[3.11-rc5..] NULL pointer dereference, lockup after XHCI device dropped out

2013-08-17 Thread Peter Wu
Hi, I hit a BUG followed by a lockup when trying to wipe a new external USB 3.0 1TB 2.5" "Western Digital My Passport" (WDBBEP0010BBK-EESN) HDD. The following command is used (with sudo): dd if=/dev/zero of=/dev/sdd bs=1M In another shell, I kept sending a USR1 signal to watch progress (mayb

Re: [Bug] [Sony VAIO SVT15117CXS] USB 2.0 ports not working with any USB device

2013-08-17 Thread Alan Stern
On Sat, 17 Aug 2013, Kevin Archer wrote: > Issue similar to Ming Lei post of June 26th 2013 > > USB 2.0 ports "appear" to operate correctly in 2.6.33 and 2.6.39 but > not after going to 3.1 > > > See detailed log in below link: > > https://bugs.launchpad.net/bugs/1210858 The l

Re: [PATCH v1 02/49] USB: sg: prepare for enabling irq in complete()

2013-08-17 Thread Alan Stern
On Sun, 18 Aug 2013, Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Cc: Alan Stern > Signed-off-by: Ming Lei > --- > drivers/usb/core/message.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/us

[3.11-rc5..] NULL pointer dereference in bdi_writeback_workfn

2013-08-17 Thread Alan Stern
Forwarding this message to Tejun and Jens, because it concerns a bug in the block layer. Alan Stern -- Forwarded message -- Date: Sun, 18 Aug 2013 00:12:10 +0200 From: Peter Wu To: linux-usb@vger.kernel.org, linux-ker...@vger.kernel.org Subject: [3.11-rc5..] NULL pointer derefer

Re: [PATCH v1 26/49] input: cm109: prepare for enabling irq in complete()

2013-08-17 Thread Dmitry Torokhov
Hi Ming, On Sun, Aug 18, 2013 at 12:24:51AM +0800, Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). I think cm109 needs some love in it's URB handling, but this patch does not change anything, so: Acked-by: Dmitry Torokhov Or do you want me t

Re: [PATCH 5/6] for fixing xhci_readl call in xhci_hub.c after removing xhci_hcd from function definition

2013-08-17 Thread Julia Lawall
On Sat, 17 Aug 2013, Dan Carpenter wrote: > Wait what? Why did we break the build in the first place? Kumar didn't understand the relation between "one issue one patch" and "thou shalt not break the build". I believe he either has sent or will send a new patch set that makes both changes at o