[PATCH v2] usb: musb: host: Fix NULL pointer dereference in SMP environment

2016-02-27 Thread Liu Xiang
In multi-core SoC, if enable USB endpoint/transmit urb/disable USB endpoint repeatedly,it can cause a NULL pointer dereference bug: Unable to handle kernel NULL pointer dereference at virtual address 0010 pgd = d3eb4000 [0010] *pgd= Internal error: Oops: 5 [#1] PREEMPT SMP Pid: 101

[PATCH] usb: dwc2: Add support for Lantiq ARX and XRX SoCs

2016-02-27 Thread Antti Seppälä
Add support for Lantiq ARX and XRX SoC families to the dwc2 driver. Signed-off-by: Antti Seppälä --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ drivers/usb/dwc2/platform.c| 34 ++ 2 files changed, 36 insertions(+) diff --git a/Documentati

[PATCH v4 1/3 RESEND] USB: serial: cp210x: New 16-bit register access functions.

2016-02-27 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions for 16-bit values, instead of the above functions. Signed-off-by: Konstantin Shkolnyy --- change in v4: Instead of adding all new functions a one separate patch, added them with pat

[PATCH v4 2/3 RESEND] USB: serial: cp210x: New 8-bit and 32-bit register access functions.

2016-02-27 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions for 8 and 32-bit values, instead of the above functions. Signed-off-by: Konstantin Shkolnyy --- change in v4: Instead of adding all new functions a one separate patch, added them wi

[PATCH v4 3/3 RESEND] USB: serial: cp210x: New access functions for large registers

2016-02-27 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change switches large register access to use new block functions. The old functions are removed because now they become unused. Signed-off-by: Konstantin Shkolnyy --- change in v4: Instead of adding all new functions a one separa

[PATCH v4 0/2] ?hci-platform: Add support for controllers with more then one reset line

2016-02-27 Thread Hans de Goede
Hi All, Here is a new version of my patch-set to support usb controllers which have multiple resets. These patches apply on top of the related reset-controller patches which have just been merged here: git://git.pengutronix.de/git/pza/linux.git reset/next Changes in v2: -Switch to now shared res

[PATCH v4 1/2] ehci-platform: Add support for controllers with multiple reset lines

2016-02-27 Thread Hans de Goede
From: Reinder de Haan At least the EHCI/OHCI found on the Allwinnner H3 SoC needs multiple reset lines, the controller will not initialize while the reset for its companion is still asserted, which means we need to de-assert 2 resets for the controller to work. Signed-off-by: Reinder de Haan Si

[PATCH v4 2/2] ohci-platform: Add support for controllers with multiple reset lines

2016-02-27 Thread Hans de Goede
At least the EHCI/OHCI found on the Allwinnner H3 SoC needs multiple reset lines, the controller will not initialize while the reset for its companion is still asserted, which means we need to de-assert 2 resets for the controller to work. Signed-off-by: Hans de Goede Acked-by: Alan Stern --- Ch

Delays when Lacie USB 3.0 drive attached

2016-02-27 Thread Deryk Lister
Hi I had a look at Kernel bugzilla and all mention of USB said "please send to the linux-usb mailing list" so hopefully I've come to the right place. Using Kernel 4.5.0rc5 (after finding the problem on 4.4) When I attach my Lacie rugged SSD (dual TB/USB 3.0) to USB 3.0 (Asus Z97I-Plus motherboard

Re: [PATCH] configfs: switch ->default groups to a linked list

2016-02-27 Thread Nicholas A. Bellinger
On Fri, 2016-02-26 at 13:33 +0100, Christoph Hellwig wrote: > Replace the current NULL-terminated array of default groups with a linked > list. This gets rid of lots of nasty code to size and/or dynamically > allocate the array. > > While we're at it also provide a conveniant helper to remove the

[PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-27 Thread Vittorio Alfieri
The Parrot NMEA GPS Flight Recorder is a USB composite device consisting of hub, flash storage, and cp210x usb to serial chip. It is an accessory to the mass-produced Parrot AR Drone 2. The device emits standard NMEA messages which make the it compatible with NMEA compatible software. I tested us

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-27 Thread Greg KH
On Sun, Feb 28, 2016 at 02:17:39AM +0100, Vittorio Alfieri wrote: > The Parrot NMEA GPS Flight Recorder is a USB composite device consisting of > hub, flash storage, and cp210x usb to serial chip. > It is an accessory to the mass-produced Parrot AR Drone 2. > The device emits standard NMEA message

[GIT PULL] USB driver fixes for 4.5-rc6

2016-02-27 Thread Greg KH
The following changes since commit 18558cae0272f8fd9647e69d3fec1565a7949865: Linux 4.5-rc4 (2016-02-14 13:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.5-rc6 for you to fetch changes up to 428b315a2475d614d6efbd