Re: [PATCH 0/2] Allow twl4030_charger to find phy reliably.

2015-03-02 Thread Pavel Machek
On Tue 2015-02-24 15:01:29, NeilBrown wrote: The twl4030_charger is physically paired with the twl4030 USB phy, so the drivers need to be able to reliably find each other. twl4030_charger currently uses usb_get_phy(), which works if there is only one phy to choose from, but is not reliable

Re: [PATCH 20/29] usb: gadget: composite: add req_match method to usb_function

2015-03-02 Thread Bin Liu
Hi, On Mon, Feb 23, 2015 at 9:02 AM, Andrzej Pietrasiewicz andrze...@samsung.com wrote: Non-standard requests can encode the actual interface number in a non-standard way. For example composite_setup() assumes that it is w_index 0xFF, but the printer function encodes the interface number in

Re: xhci_hcd : Not enough bandwidth on HS bus for newly activated TT.

2015-03-02 Thread Lu, Baolu
cc'ed usb mailing list. On 2015-03-02 21:23, Kenneth Johansson wrote: I have been running 3.19 prereleases and now 3.19 and have not got the bandwidth problem with that kernel version. While it was quite hard to get before I think I have run int long enough to say that it no longer exist.

Re: USB ID detection interrupt - non OTG PHY

2015-03-02 Thread Peter Chen
On Mon, Mar 02, 2015 at 11:47:31AM +0530, Anjana V Kumar wrote: Hi Peter, I will need to configure both the phy and the controller. Thanks Anjana On Mon, Mar 2, 2015 at 11:24 AM, Peter Chen peter.c...@freescale.com wrote: This is regarding the registering and handling of ID

[PATCH] usb: serial: ftdi_sio: Add jtag quirk support for Cyber Cortex AV boards.

2015-03-02 Thread Max Mansfield
This patch integrates Cyber Cortex AV boards with the existing ftdi_jtag_quirk in order to use serial port 0 with JTAG which is required by the manufacturers' software. Steps: 2 [ftdi_sio_ids.h] 1. Defined the device PID [ftdi_sio.c] 2. Added a macro declaration to the ids array, in order to

[PATCH net-next 00/14] Use eth_foo_addr instead of memset

2015-03-02 Thread Joe Perches
Joe Perches (14): etherdevice: Add eth_foo_addr CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS code ethernet: Use eth_foo_addr instead of memset net: usb: Use eth_foo_addr instead of memset wireless: Use eth_foo_addr instead of memset netconsole: Use eth_foo_addr instead of memset xen: Use

[PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91

2015-03-02 Thread Alexandre Belloni
Since the addition of the errata handling for at91sam9rl and at91sam9g45, the atmel_usba_udc depends on the pmc driver being present. Explicitly set that dependency. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/usb/gadget/udc/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH] usb: serial: ftdi_sio: Add jtag quirk support for Cyber Cortex AV boards.

2015-03-02 Thread Johan Hovold
On Mon, Mar 02, 2015 at 06:38:02PM -0700, Max Mansfield wrote: This patch integrates Cyber Cortex AV boards with the existing ftdi_jtag_quirk in order to use serial port 0 with JTAG which is required by the manufacturers' software. Steps: 2 [ftdi_sio_ids.h] 1. Defined the device PID

Re: [PATCH 20/29] usb: gadget: composite: add req_match method to usb_function

2015-03-02 Thread Andrzej Pietrasiewicz
W dniu 02.03.2015 o 23:03, Bin Liu pisze: Hi, On Mon, Feb 23, 2015 at 9:02 AM, Andrzej Pietrasiewicz andrze...@samsung.com wrote: Non-standard requests can encode the actual interface number in a non-standard way. For example composite_setup() assumes that it is w_index 0xFF, but the printer

[PATCH net-next 03/14] net: usb: Use eth_foo_addr instead of memset

2015-03-02 Thread Joe Perches
Use the built-in function instead of memset. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/usb/catc.c | 4 ++-- drivers/net/usb/cdc_mbim.c | 2 +- drivers/net/usb/lg-vl600.c | 2 +- drivers/net/usb/qmi_wwan.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH] Fixing style warnings.

2015-03-02 Thread cfredric
Signed-off-by: cfredric chris.p.fredrick...@gmail.com --- drivers/usb/core/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c index 506b969..89f2e77 100644 --- a/drivers/usb/core/buffer.c +++

Re: [PATCH 20/29] usb: gadget: composite: add req_match method to usb_function

2015-03-02 Thread Andrzej Pietrasiewicz
W dniu 27.02.2015 o 21:58, Felipe Balbi pisze: Hi, On Fri, Feb 27, 2015 at 02:55:25PM -0600, Felipe Balbi wrote: On Mon, Feb 23, 2015 at 04:02:09PM +0100, Andrzej Pietrasiewicz wrote: Non-standard requests can encode the actual interface number in a non-standard way. For example

Re: gadgetfs broken since 7f7f25e8

2015-03-02 Thread Al Viro
On Mon, Mar 02, 2015 at 10:13:27AM +0100, Richard Weinberger wrote: On Mon, Mar 2, 2015 at 9:28 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello. Commit 7f7f25e82d54870df24d415a7007fbd327da027b (introduced with 3.16) broke dynamic changing of file_operations-[read|write]. At

Re: [PATCH] usb: plusb: Add support for National Instruments host-to-host cable

2015-03-02 Thread David Miller
From: Ben Shelton ben.shel...@ni.com Date: Mon, 2 Mar 2015 10:00:14 -0600 On 02/27, David Miller wrote: From: Ben Shelton ben.shel...@ni.com Date: Fri, 27 Feb 2015 15:26:32 -0600 On 02/20, David Miller wrote: From: Ben Shelton ben.shel...@ni.com Date: Mon, 16 Feb 2015 13:47:06 -0600

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Alan Stern
On Mon, 2 Mar 2015, Aleksander Morgado wrote: I think my patch also lacks the -EREMOTEIO return for the case when 0 bytes are transferred. I'll try to update it today. It's not necessary. The USB core automatically sets the status to -EREMOTEIO if the status is equal to 0 and the transfer

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Mathias Nyman
On 26.02.2015 20:01, Alan Stern wrote: On Thu, 26 Feb 2015, Mathias Nyman wrote: On 26.02.2015 18:12, Mathias Nyman wrote: When a control transfer has a short data stage, the xHCI controller generates two transfer events: a COMP_SHORT_TX event that specifies the untransferred amount, and

Re: gadgetfs broken since 7f7f25e8

2015-03-02 Thread Alexander Holler
Am 02.03.2015 um 14:02 schrieb Alexander Holler: Am 02.03.2015 um 12:39 schrieb Alexander Holler: Am 02.03.2015 um 11:20 schrieb Al Viro: On Mon, Mar 02, 2015 at 10:13:27AM +0100, Richard Weinberger wrote: On Mon, Mar 2, 2015 at 9:28 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello.

[PATCH v5] xhci: fix reporting of 0-sized URBs in control endpoint

2015-03-02 Thread Aleksander Morgado
When a control transfer has a short data stage, the xHCI controller generates two transfer events: a COMP_SHORT_TX event that specifies the untransferred amount, and a COMP_SUCCESS event. But when the data stage is not short, only the COMP_SUCCESS event occurs. Therefore, xhci-hcd must set

Re: [PATCH v4 1/1] USB: ch341: set tty baud speed according to tty struct

2015-03-02 Thread Johan Hovold
On Sun, Mar 01, 2015 at 01:47:22PM -0500, Nicolas PLANEL wrote: The ch341_set_baudrate() function initialize the device baud speed according to the value on priv-baud_rate. By default the ch341_open() set it to a hardcoded value (DEFAULT_BAUD_RATE 9600). Unfortunately, the tty_struct is not

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Mathias Nyman
On 26.02.2015 23:59, Aleksander Morgado wrote: On Thu, Feb 26, 2015 at 5:12 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: When a control transfer has a short data stage, the xHCI controller generates two transfer events: a COMP_SHORT_TX event that specifies the untransferred amount,

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Aleksander Morgado
On Mon, Mar 2, 2015 at 12:57 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 26.02.2015 23:59, Aleksander Morgado wrote: On Thu, Feb 26, 2015 at 5:12 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: When a control transfer has a short data stage, the xHCI controller generates

Re: gadgetfs broken since 7f7f25e8

2015-03-02 Thread Alexander Holler
Am 02.03.2015 um 12:39 schrieb Alexander Holler: Am 02.03.2015 um 11:20 schrieb Al Viro: On Mon, Mar 02, 2015 at 10:13:27AM +0100, Richard Weinberger wrote: On Mon, Mar 2, 2015 at 9:28 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello. Commit 7f7f25e82d54870df24d415a7007fbd327da027b

gadgetfs broken since 7f7f25e8

2015-03-02 Thread Alexander Holler
Hello. Commit 7f7f25e82d54870df24d415a7007fbd327da027b (introduced with 3.16) broke dynamic changing of file_operations-[read|write]. At least gadgetfs is a victim. Feel free to ask me off-list for a patch as I don't want to end up in annoying discussions on Linux kernel lists anymore.

Re: [PATCH 20/29] usb: gadget: composite: add req_match method to usb_function

2015-03-02 Thread Andrzej Pietrasiewicz
W dniu 27.02.2015 o 21:55, Felipe Balbi pisze: On Mon, Feb 23, 2015 at 04:02:09PM +0100, Andrzej Pietrasiewicz wrote: Non-standard requests can encode the actual interface number in a non-standard way. For example composite_setup() assumes that it is w_index 0xFF, but the printer function

Re: gadgetfs broken since 7f7f25e8

2015-03-02 Thread Alexander Holler
Am 02.03.2015 um 11:20 schrieb Al Viro: On Mon, Mar 02, 2015 at 10:13:27AM +0100, Richard Weinberger wrote: On Mon, Mar 2, 2015 at 9:28 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello. Commit 7f7f25e82d54870df24d415a7007fbd327da027b (introduced with 3.16) broke dynamic changing of

Re: gadgetfs broken since 7f7f25e8

2015-03-02 Thread Richard Weinberger
On Mon, Mar 2, 2015 at 9:28 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello. Commit 7f7f25e82d54870df24d415a7007fbd327da027b (introduced with 3.16) broke dynamic changing of file_operations-[read|write]. At least gadgetfs is a victim. Feel free to ask me off-list for a patch as I

Re: [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-03-02 Thread Bo Shen
Hi Nicolas, On 02/10/2015 09:55 AM, Bo Shen wrote: This patch series enable usb device support on at91sam9n12ek board. Changes in v2: - Base on next-20150209 (so, remove the modification of udc driver). - Add pinctrl for usb1 vbus sense. Bo Shen (2): ARM: at91: dt: at91sam9n12: add

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-02 Thread David Vrabel
On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a driver domain (usually Dom0) which is owner of the physical

Re: [PATCH] usb: plusb: Add support for National Instruments host-to-host cable

2015-03-02 Thread Ben Shelton
On 02/27, David Miller wrote: From: Ben Shelton ben.shel...@ni.com Date: Fri, 27 Feb 2015 15:26:32 -0600 On 02/20, David Miller wrote: From: Ben Shelton ben.shel...@ni.com Date: Mon, 16 Feb 2015 13:47:06 -0600 The National Instruments USB Host-to-Host Cable is based on the Prolific

Re: [PATCH v3 00/22] usb: musb: the big MUSB patch bomb

2015-03-02 Thread Bin Liu
Felipe, On Fri, Feb 27, 2015 at 3:45 PM, Felipe Balbi ba...@ti.com wrote: On Fri, Feb 27, 2015 at 03:22:11PM -0600, Bin Liu wrote: Felipe, On Thu, Feb 26, 2015 at 2:53 PM, Felipe Balbi ba...@ti.com wrote: Hi folks, this is v3 of my patchset which has been in discussion with Bin Liu

Re: [PATCH 20/29] usb: gadget: composite: add req_match method to usb_function

2015-03-02 Thread Bin Liu
Hi, On Mon, Mar 2, 2015 at 2:38 AM, Andrzej Pietrasiewicz andrze...@samsung.com wrote: W dniu 27.02.2015 o 21:58, Felipe Balbi pisze: Hi, On Fri, Feb 27, 2015 at 02:55:25PM -0600, Felipe Balbi wrote: On Mon, Feb 23, 2015 at 04:02:09PM +0100, Andrzej Pietrasiewicz wrote: Non-standard

Re: [PATCH v2] usb/isp1760: set IRQ flags properly

2015-03-02 Thread laurent . pinchart
Hi Valentin, Thank you for the patch. On Sun Mar 01 2015 17:54:32 GMT+0200 (EET), Valentin Rothberg wrote: The IRQF_DISABLED is a NOOP and scheduled to be removed. According to commit e58aa3d2d0cc (genirq: Run irq handlers with interrupts disabled) running IRQ handlers with interrupts

Re: keyboard/trackpad combo unusable on MacBookPro4,1 with bcm5974.ko

2015-03-02 Thread Alan Stern
On Fri, 27 Feb 2015, Christian Böhme wrote: Alan Stern stern@... writes: Specifically, HID_QUIRK_IGNORE_MOUSE existed in 2.6.27 and was dealt with in drivers/hid/usbhid/hid-core.c:730, thereby somehow fixing things. But those lines (and the symbol) disappeared after 2.6.27. Why

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Alan Stern
On Mon, 2 Mar 2015, Aleksander Morgado wrote: On Mon, Mar 2, 2015 at 4:02 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 2 Mar 2015, Aleksander Morgado wrote: I think my patch also lacks the -EREMOTEIO return for the case when 0 bytes are transferred. I'll try to update it

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Aleksander Morgado
On Mon, Mar 2, 2015 at 4:02 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 2 Mar 2015, Aleksander Morgado wrote: I think my patch also lacks the -EREMOTEIO return for the case when 0 bytes are transferred. I'll try to update it today. It's not necessary. The USB core automatically

Re: [RFC PATCH] xhci: fix reporting of 0-sized URBs in control endpoints

2015-03-02 Thread Alan Stern
On Mon, 2 Mar 2015, Aleksander Morgado wrote: On Mon, Mar 2, 2015 at 6:10 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, Mar 2, 2015 at 4:02 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 2 Mar 2015, Aleksander Morgado wrote: I think my patch also lacks the

Re: [PATCH v2 3/3] ARM: mvebu: armada-385-ap: Enable USB3 port

2015-03-02 Thread Gregory CLEMENT
Hi Maxime, On 19/01/2015 14:01, Maxime Ripard wrote: The Armada 385 AP board has a USB3 port exposed that uses a GPIO to drive the VBUS line. Enable the needed drivers to support this. it seems that this patch was not applied yet. Patch 1 is now in linux-next and should be part of 4.0-rc.