Re: [RFC v4] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-10-10 Thread Kiran Raparthy
Hi Felipe, Thank you very much for taking time in reviewing the patch. I will try to improve the patch as per your suggestions. however,i have few queries which i wanted to understand from you. On 7 October 2014 19:55, Felipe Balbi ba...@ti.com wrote: Hi, On Tue, Oct 07, 2014 at 02:45:44PM

Re: [PATCH] usb: host: xhci-plat: fix suspend/resume on xhci-rcar

2014-10-10 Thread Geert Uytterhoeven
On Thu, Oct 9, 2014 at 4:14 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Oct 09, 2014 at 01:45:47PM +0900, Yoshihiro Shimoda wrote: This patch fixes an issue that suspend/resume cannot work correctly on xhci-rcar because the xhci driver output the following log: xhci-hcd ee00.usb:

Re: xhci_hcd can't detect new devices after enabling runtime PM and disabling S3 wake (bug #85701)

2014-10-10 Thread Dmitry Nezhevenko
On Wed, Oct 08, 2014 at 12:38:35PM -0400, Alan Stern wrote: Dmitry, this gave me another idea. Can you test the patch below, _without_ the previous patch? And post the corresponding usbmon trace and dmesg log? Hi, it doesn't work. All other attempts to plug device (after first one+) don't

Re: [PATCH v3] usb: gadget: f_fs: add no_disconnect mode

2014-10-10 Thread Robert Baldyga
On 10/09/2014 03:57 PM, Michal Nazarewicz wrote: On Thu, Oct 09 2014, Robert Baldyga r.bald...@samsung.com wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is

[PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Frans Klaver
Add new IDs for the Xsens Awinda Station and Awinda Dongle. Cc: sta...@vger.kernel.org Signed-off-by: Frans Klaver frans.kla...@xsens.com --- drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 2 ++ 2 files changed, 4 insertions(+) diff --git

Re: [PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Johan Hovold
On Fri, Oct 10, 2014 at 10:44:54AM +0200, Frans Klaver wrote: Add new IDs for the Xsens Awinda Station and Awinda Dongle. Cc: sta...@vger.kernel.org Signed-off-by: Frans Klaver frans.kla...@xsens.com --- drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 2 ++

Re: [PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Frans Klaver
On Fri, Oct 10, 2014 at 11:01:17AM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 10:44:54AM +0200, Frans Klaver wrote: Add new IDs for the Xsens Awinda Station and Awinda Dongle. Cc: sta...@vger.kernel.org Signed-off-by: Frans Klaver frans.kla...@xsens.com ---

Re: [PATCH v7 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-10 Thread Johan Hovold
On Thu, Oct 09, 2014 at 11:27:12PM +0300, Octavian Purdila wrote: On Thu, Oct 9, 2014 at 10:44 PM, Joe Perches j...@perches.com wrote: On Thu, 2014-10-09 at 22:22 +0300, Octavian Purdila wrote: diff --git a/drivers/mfd/dln2.c b/drivers/mfd/dln2.c [] +struct dln2_mod_rx_slots { +

Re: [PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Johan Hovold
On Fri, Oct 10, 2014 at 11:12:09AM +0200, Frans Klaver wrote: On Fri, Oct 10, 2014 at 11:01:17AM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 10:44:54AM +0200, Frans Klaver wrote: diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index

Re: [PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Frans Klaver
On Fri, Oct 10, 2014 at 11:20:14AM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 11:12:09AM +0200, Frans Klaver wrote: I'll move the new entries up. How about I throw in a separate patch that cleans up stuff around the PID definitions? There's some alignment off as well. That doesn't

[PATCH v2] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Frans Klaver
Add new IDs for the Xsens Awinda Station and Awinda Dongle. While at it, order the definitions by PID and add a logical separation between devices using Xsens' VID and those using FTDI's VID. Cc: sta...@vger.kernel.org Signed-off-by: Frans Klaver frans.kla...@xsens.com ---

Re: [PATCH v2] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Johan Hovold
On Fri, Oct 10, 2014 at 11:32:27AM +0200, Frans Klaver wrote: Add new IDs for the Xsens Awinda Station and Awinda Dongle. While at it, order the definitions by PID and add a logical separation between devices using Xsens' VID and those using FTDI's VID. Cc: sta...@vger.kernel.org

Re: [PATCH v2] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Frans Klaver
On Fri, Oct 10, 2014 at 11:34:43AM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 11:32:27AM +0200, Frans Klaver wrote: Add new IDs for the Xsens Awinda Station and Awinda Dongle. While at it, order the definitions by PID and add a logical separation between devices using Xsens' VID

[PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Frans Klaver
Add new IDs for the Xsens Awinda Station and Awinda Dongle. While at it, order the definitions by PID and add a logical separation between devices using Xsens' VID and those using FTDI's VID. Cc: sta...@vger.kernel.org Signed-off-by: Frans Klaver frans.kla...@xsens.com --- Third time's a charm.

Re: [PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-10 Thread Johan Hovold
On Fri, Oct 10, 2014 at 11:52:08AM +0200, Frans Klaver wrote: Add new IDs for the Xsens Awinda Station and Awinda Dongle. While at it, order the definitions by PID and add a logical separation between devices using Xsens' VID and those using FTDI's VID. Cc: sta...@vger.kernel.org

[PATCH] USB: phy: add ralink SoC driver

2014-10-10 Thread John Crispin
RT3352, RT5350 and the MT762x SoCs all have a usb phy that we need to setup. Signed-off-by: John Crispin blo...@openwrt.org --- drivers/usb/phy/Kconfig |8 ++ drivers/usb/phy/Makefile |1 + drivers/usb/phy/phy-ralink.c | 192 ++ 3 files

Re: Bug 83371 - Kernel Panic on ASM1051e USB 3.0 Drive Connection

2014-10-10 Thread Mathias Nyman
On 10/10/2014 04:11 AM, Ivan Fossa Ferrari wrote: I have tested Kernel versions starting with 3.15.1 all the way to 3.15.10 under both Arch and Fedora, using both NEC and Intel host controllers and the result is always the same. Connecting a Asmedia ASM1051e device causes a kernel panic

[PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-10 Thread pavi1729 ivap
From 3272817673910c63682e8b91ce0efaef190a399a Mon Sep 17 00:00:00 2001 From: Pavitra pavitra1...@gmail.com Date: Fri, 10 Oct 2014 16:05:30 +0530 Subject: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors Removed the usb_free_all_descriptors call in *_bind functions as this

[PATCH v3 1/2] usb: ehci: add port_power callback and override

2014-10-10 Thread Peter Chen
From: Michael Grzeschik m.grzesc...@pengutronix.de The current EHCI implementation is prepared to toggle the PORT_POWER bit to enable or disable a USB-Port. In some cases this port power can not be toggled by the PORT_POWER bit but instead i.e. by an external GPIO. This patch adds a override

[PATCH v3 0/2] usb: ehci: add portpower override

2014-10-10 Thread Peter Chen
Michael, Hope you are ok I have changed your patches. Hi Alan, At the first patch, it defines one hcd driver's API .port_power, which is used to power on/off dedicated port, the implementation of this API is the same which it used to replace, and the platform can override it if necessary. At

[PATCH v3 2/2] usb: chipidea: host: add portpower override

2014-10-10 Thread Peter Chen
From: Michael Grzeschik m.grzesc...@pengutronix.de This patch adds an external portpower override callback, only single port regulator control is supported now. Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Peter Chen peter.c...@freescale.com ---

Re: [PATCH v3] Add support for GPIOs for SMSC LAN95xx chips.

2014-10-10 Thread Bjørn Mork
Evgeny Boger bo...@contactless.ru writes: For LAN951x: GPIOs with offsets 0-7 are named GPIO3 - GPIO7, The number of offsets does not match the number of names. Bjørn -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org

Re: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-10 Thread Robert Baldyga
Hi, On 10/10/2014 01:51 PM, pavi1729 ivap wrote: From 3272817673910c63682e8b91ce0efaef190a399a Mon Sep 17 00:00:00 2001 From: Pavitra pavitra1...@gmail.com Date: Fri, 10 Oct 2014 16:05:30 +0530 Subject: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors Removed the

Re: [PATCHv2 0/2] HID: usbhid: enable always-poll quirk for other Elan Touchscreen

2014-10-10 Thread Jiri Kosina
On Thu, 9 Oct 2014, Adel Gadllah wrote: This adds two devices that needs the always-poll quirk to the list. Adel Gadllah (2): HID: usbhid: enable always-poll quirk for Elan Touchscreen 009b HID: usbhid: enable always-poll quirk for Elan Touchscreen 016f Queued to

[PATCH] usb: yurex: fixed sparse warning of incorrect type

2014-10-10 Thread Sudip Mukherjee
fixed sparse warning of 1) incorrect type (different address spaces) 2) incorrect type in initializer Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/usb/misc/yurex.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-10 Thread pavi1729 ivap
Rob, Got your point, will submit a new patch with a new error label. Also I just found that in f_hid.c f_rndis.c and f_uac2.c do need the freeing function. Will clean it up and send the patch. Thanks, Pavitra On Fri, Oct 10, 2014 at 6:05 PM, Robert Baldyga r.bald...@samsung.com wrote: Hi,

Re: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-10 Thread pavi1729 ivap
Oh! precisely what you are saying .. On Fri, Oct 10, 2014 at 6:21 PM, pavi1729 ivap pavitra1...@gmail.com wrote: Rob, Got your point, will submit a new patch with a new error label. Also I just found that in f_hid.c f_rndis.c and f_uac2.c do need the freeing function. Will clean it up and

[PATCH] Update default usb-storage delay_use value in kernel-parameters.txt

2014-10-10 Thread Mark Knibbs
Hi, Back in 2010 the default usb-storage delay_use time was reduced from 5 to 1 second (commit a4a47bc03fe520e95e0c4212bf97c86545fb14f9), but kernel-parameters.txt wasn't updated to reflect that. Signed-off-by: Mark Knibbs ma...@clara.co.uk --- diff -upN

[PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors

2014-10-10 Thread pavi1729 ivap
From: Pavitra pavitra1...@gmail.com Date: Fri, 10 Oct 2014 16:05:30 +0530 Subject: [PATCH] usb: gadget: function: Remove redundant usb_free_all_descriptors Removed the usb_free_all_descriptors call in *_bind functions as this call is already present in usb_assign_descriptors.

[PATCH] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-10 Thread Sudip Mukherjee
sparse was giving the following warning: warning: context imbalance in 's3c_hsotg_ep_enable' - different lock contexts for basic block we were returning ENOMEM while still holding the spinlock. The sparse warning was fixed by releasing the spinlock before return. Signed-off-by:

Re: [PATCH] u_serial.c - Force destroy tty_port in gserial_free_port

2014-10-10 Thread Peter Hurley
On 10/10/2014 12:05 AM, Andre Wolokita wrote: On 10/10/14 00:47, Peter Hurley wrote: Hi Andre, On 10/08/2014 11:54 PM, Andre Wolokita wrote: On 09/10/14 14:38, Greg KH wrote: On Thu, Oct 09, 2014 at 02:08:04PM +1100, Andre Wolokita wrote: On 09/10/14 13:56, Greg KH wrote: On Thu, Oct

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Felipe Balbi
On Thu, Oct 09, 2014 at 04:07:15PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: alright, it's pretty

Re: [PATCH] USB: phy: add ralink SoC driver

2014-10-10 Thread Felipe Balbi
On Fri, Oct 10, 2014 at 12:20:01PM +0200, John Crispin wrote: RT3352, RT5350 and the MT762x SoCs all have a usb phy that we need to setup. Signed-off-by: John Crispin blo...@openwrt.org new PHY drivers only on drivers/phy ;-) -- balbi signature.asc Description: Digital signature

Re: [RFC PATCH 3/4] usb: dwc3: add quirk to be compatible for AMD NL

2014-10-10 Thread Felipe Balbi
Hi, On Fri, Oct 10, 2014 at 05:25:34PM +0800, Huang Rui wrote: I enabled dwc3 and gadget debug/verbose configuration, the whole testing dmesg oh, that's why it's so slow :-) I'm getting over 30MB/sec with a Cortex A9 :-) Yes, maybe have two reasons: 1) The input clock is much

hso. hso_serial_close oops.

2014-10-10 Thread Christian Melki
I'm using a ppc 8347 with a normal 3.16.1 kernel. The software opens the driver tty in question and then sets it as stdin, stdout for chat-program and pppd. When I yank the modem while running, the software detects this and tries to close the open socket with a kernel crash as a result.

Re: hso. hso_serial_close oops.

2014-10-10 Thread Peter Hurley
[ +Jan Dumon, netdev ] Forwarding oops report to maintainer. On 10/10/2014 10:02 AM, Christian Melki wrote: I'm using a ppc 8347 with a normal 3.16.1 kernel. The software opens the driver tty in question and then sets it as stdin, stdout for chat-program and pppd. When I yank the modem

RE: [PATCH v3 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-10-10 Thread Muthu Mani
-Original Message- From: Lee Jones [mailto:lee.jo...@linaro.org] Sent: Thursday, October 09, 2014 1:10 PM To: Muthu Mani Cc: Samuel Ortiz; Wolfram Sang; Linus Walleij; Alexandre Courbot; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- g...@vger.kernel.org;

Re: Displaylink Attached Display Adapater and Monitor Not Recognized

2014-10-10 Thread Alan Stern
On Thu, 9 Oct 2014, Dennis Gesker wrote: I did see that note and link but it was an to a pretty old thread. I figured something must have happend on this since then. There seem to be quite a few products with these displaylink chip sets in them. If its really just a bad product as as far as

Re: [PATCH v2] usb: chipidea: add portpower override for host and use it

2014-10-10 Thread Alan Stern
On Fri, 10 Oct 2014, Laurent Pinchart wrote: Hi Alan, On Thursday 09 October 2014 12:51:34 Alan Stern wrote: On Thu, 9 Oct 2014, Michael Grzeschik wrote: This patch adds an hub_control override to toggle the PORT_POWER by the registered regulator. That is needed when an external

Re: [PATCH v3 1/2] usb: ehci: add port_power callback and override

2014-10-10 Thread Alan Stern
On Fri, 10 Oct 2014, Peter Chen wrote: @@ -1216,6 +1221,7 @@ static const struct hc_driver ehci_hc_driver = { .bus_resume = ehci_bus_resume, .relinquish_port = ehci_relinquish_port, .port_handed_over = ehci_port_handed_over, + .port_power =

Re: [PATCH] USB: phy: add ralink SoC driver

2014-10-10 Thread John Crispin
On 10/10/2014 15:58, Felipe Balbi wrote: On Fri, Oct 10, 2014 at 12:20:01PM +0200, John Crispin wrote: RT3352, RT5350 and the MT762x SoCs all have a usb phy that we need to setup. Signed-off-by: John Crispin blo...@openwrt.org new PHY drivers only on drivers/phy ;-) i that hope i am not the

Re: [PATCH] usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC

2014-10-10 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 09:00:16AM -0700, Ashwini Pahuja wrote: - This patch adds a UDC driver for Broadcom's USB3.0 device controller IP(BDC). - The driver was written using the Felipe's USB tree as a baseline from: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git

Re: [PATCH] USB: phy: add ralink SoC driver

2014-10-10 Thread Felipe Balbi
On Fri, Oct 10, 2014 at 05:01:48PM +0200, John Crispin wrote: On 10/10/2014 15:58, Felipe Balbi wrote: On Fri, Oct 10, 2014 at 12:20:01PM +0200, John Crispin wrote: RT3352, RT5350 and the MT762x SoCs all have a usb phy that we need to setup. Signed-off-by: John Crispin

Re: [RFC v4] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-10-10 Thread Felipe Balbi
Hi, On Fri, Oct 10, 2014 at 11:37:31AM +0530, Kiran Raparthy wrote: Hi Felipe, Thank you very much for taking time in reviewing the patch. I will try to improve the patch as per your suggestions. however,i have few queries which i wanted to understand from you. sure thing. On 7 October

Re: [PATCH] usb: musb: musb_dsps: fix NULL pointer in suspend

2014-10-10 Thread Felipe Balbi
On Thu, Oct 09, 2014 at 10:25:20AM +0530, George Cherian wrote: On 10/08/2014 11:59 PM, Sebastian Andrzej Siewior wrote: So testing managed to configure musb in DMA mode but not load the matching cppi41 driver for DMA. This results in |musb-hdrc musb-hdrc.0.auto: Failed to request rx1.

Re: [PATCH v3 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-10-10 Thread Lee Jones
-Original Message- From: Lee Jones [mailto:lee.jo...@linaro.org] Sent: Thursday, October 09, 2014 1:10 PM To: Muthu Mani Cc: Samuel Ortiz; Wolfram Sang; Linus Walleij; Alexandre Courbot; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- g...@vger.kernel.org;

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: What GCC version are you using? 4.8.1 and 4.8.2 are known to miscompile the ARM kernel and these find_get_entry() crashes with 0x involved

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 08:57:43AM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 04:07:15PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: On Thu, Oct 09, 2014 at

[PATCH] USB: dwc2: add a call to device_reset_optional()

2014-10-10 Thread John Crispin
We need this for dwc2 to work on older ralink SoC like the rt3052. Signed-off-by: John Crispin blo...@openwrt.org --- drivers/usb/dwc2/hcd.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 4d918ed..8b5f966 100644 ---

[PATCH 0/8] Equivalent of g_hid with configfs

2014-10-10 Thread Andrzej Pietrasiewicz
This series aims at integrating configfs into uvc, the way it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet, mass_storage, FunctionFS, loopback, sourcesink, uac1, uac2 and uvc. The hid function driver needs some data from userspace, which cannot be known in advance, so it

[PATCH 6/8] usb: gadget: f_hid: remove compatibility layer

2014-10-10 Thread Andrzej Pietrasiewicz
There are no old function interface users left, so remove it. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/function/f_hid.c | 73 - 1 file changed, 73 deletions(-) diff --git a/drivers/usb/gadget/function/f_hid.c

[PATCH 7/8] usb: gadget: f_hid: use usb_gstrings_attach

2014-10-10 Thread Andrzej Pietrasiewicz
Before configfs is integrated the usb_gstrings_attach() interface must be used. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/function/f_hid.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH 4/8] usb: gadget: f_hid: convert to new function interface with backward compatibility

2014-10-10 Thread Andrzej Pietrasiewicz
Converting hid to the new function interface requires converting the USB hid's function code and its users. This patch converts the f_hid.c to the new function interface. The file can now be compiled into a separate usb_f_hid.ko module. The old function interface is provided by means of a

[PATCH 2/8] usb: gadget: f_hid: check return value of device_create

2014-10-10 Thread Andrzej Pietrasiewicz
device_create() might fail, so check its return value and react appropriately. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/function/f_hid.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/function/f_hid.c

[PATCH 3/8] usb: gadget: hid: mirror init operations in module cleanup

2014-10-10 Thread Andrzej Pietrasiewicz
So far platform driver has been unregistered first, so just after that the usb composite is still available, but there is no hid data any more. Reverse the order so that first the usb composite becomes unavailable and second the hid data goes away. Signed-off-by: Andrzej Pietrasiewicz

[PATCH 5/8] usb: gadget: hid: convert to new interface of f_hid

2014-10-10 Thread Andrzej Pietrasiewicz
Use the new f_hid interface in order for the old to be removed. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/legacy/Kconfig | 1 + drivers/usb/gadget/legacy/hid.c | 78 +++ 2 files changed, 56 insertions(+), 23

[PATCH 1/8] usb: gadget: f_hid: check return value of class_create

2014-10-10 Thread Andrzej Pietrasiewicz
class_create() might fail, so check its return value and react appropriately. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/function/f_hid.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/function/f_hid.c

[PATCH 8/8] usb: gadget: hid: add configfs support

2014-10-10 Thread Andrzej Pietrasiewicz
Make the hid function available for gadgets composed with configfs. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com --- Documentation/ABI/testing/configfs-usb-gadget-hid | 11 ++ Documentation/usb/gadget_hid.txt | 7 ++ drivers/usb/gadget/Kconfig

xHCI bug

2014-10-10 Thread Felipe Balbi
Hi Mathias, I seem to be able to rather easily kill xHCI by just running test.sh/testusb with a USB2 device attached to it (I used my AM437x Starter Kit for the test). I noticed that after not too long, all tests started failing (see below) but using ehci, it works just fine (afaicr). Here's a

Re: xHCI bug

2014-10-10 Thread Felipe Balbi
Hi again, On Fri, Oct 10, 2014 at 01:47:55PM -0500, Felipe Balbi wrote: I seem to be able to rather easily kill xHCI by just running test.sh/testusb with a USB2 device attached to it (I used my AM437x Starter Kit for the test). I think Tony mentioned taht it's also pretty easy to break xHCI

Re: xHCI bug

2014-10-10 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141010 11:51]: Hi again, On Fri, Oct 10, 2014 at 01:47:55PM -0500, Felipe Balbi wrote: I seem to be able to rather easily kill xHCI by just running test.sh/testusb with a USB2 device attached to it (I used my AM437x Starter Kit for the test). I think Tony

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Aaro Koskinen
On Fri, Oct 10, 2014 at 05:18:35PM +0100, Russell King - ARM Linux wrote: On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: What GCC version are you using? 4.8.1 and 4.8.2 are known to miscompile the ARM

Re: Displaylink Attached Display Adapater and Monitor Not Recognized

2014-10-10 Thread poma
https://lkml.org/lkml/2013/7/23/121 -- 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: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Nathan Lynch
On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x for x 3 are affected, as well as 4.9.0. We

Re: [PATCH v3 1/2] usb: ehci: add port_power callback and override

2014-10-10 Thread Peter Chen
On Fri, Oct 10, 2014 at 10:31:24AM -0400, Alan Stern wrote: On Fri, 10 Oct 2014, Peter Chen wrote: @@ -1216,6 +1221,7 @@ static const struct hc_driver ehci_hc_driver = { .bus_resume = ehci_bus_resume, .relinquish_port = ehci_relinquish_port, .port_handed_over

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Peter Chen
On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it

[PATCH 2/2] USB: ohci-platform: Expose no_big_frame_no and num_ports in DT

2014-10-10 Thread Kevin Cernekee
These quirks are currently set through platform_data; allow DT-based SoCs to use them too. Signed-off-by: Kevin Cernekee cerne...@gmail.com --- Documentation/devicetree/bindings/usb/usb-ohci.txt | 2 ++ drivers/usb/host/ohci-platform.c | 6 ++ 2 files changed, 8

[PATCH 1/2] USB: OHCI: Eliminate platform-specific test in ohci.h

2014-10-10 Thread Kevin Cernekee
OHCI_QUIRK_FRAME_NO is currently set under either of the following conditions: 1) If a ppc-of-ohci DT node indicates a compatible string of fsl,mpc5200-ohci or mpc5200-ohci 2) If usb_ohci_pdata-no_big_frame_no is set For #1, the affected platforms already enable CONFIG_PPC_MPC52xx. For #2,

Re: [RFC PATCH 3/4] usb: dwc3: add quirk to be compatible for AMD NL

2014-10-10 Thread Huang Rui
On Fri, Oct 10, 2014 at 09:04:15AM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 10, 2014 at 05:25:34PM +0800, Huang Rui wrote: I enabled dwc3 and gadget debug/verbose configuration, the whole testing dmesg oh, that's why it's so slow :-) I'm getting over 30MB/sec with a Cortex

Re: [RFC PATCH 3/4] usb: dwc3: add quirk to be compatible for AMD NL

2014-10-10 Thread Huang Rui
On Sat, Oct 11, 2014 at 01:14:44PM +0800, Huang Rui wrote: On Fri, Oct 10, 2014 at 09:04:15AM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 10, 2014 at 05:25:34PM +0800, Huang Rui wrote: I enabled dwc3 and gadget debug/verbose configuration, the whole testing dmesg oh,