Re: [PATCH] usb: pass flags parameter to gpiod_get functions

2015-03-27 Thread Alexandre Courbot
On 03/28/2015 04:30 AM, Uwe Kleine-König wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Currently this parameter is ma

Re: [PATCH] usb: pass flags parameter to gpiod_get functions

2015-03-27 Thread Robert Jarzmik
Felipe Balbi writes: > Looks good to me: > > Acked-by: Felipe Balbi Same for me: Acked-by: Robert Jarzmik Cheers. -- Robert -- 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

Re: [PATCH] usb: pass flags parameter to gpiod_get functions

2015-03-27 Thread Felipe Balbi
On Fri, Mar 27, 2015 at 08:30:42PM +0100, Uwe Kleine-König wrote: > Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) > which appeared in v3.17-rc1, the gpiod_get* functions take an additional > parameter that allows to specify direction and initial value for output. > > Curr

[PATCH] usb: pass flags parameter to gpiod_get functions

2015-03-27 Thread Uwe Kleine-König
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Currently this parameter is made optional with the help of a cpp trick. To allow

[PATCH] usb: gadget: serial: fix re-ordering of tx data

2015-03-27 Thread Arnout Vandecappelle (Essensium/Mind)
From: Philip Oberstaller When a single thread is sending out data over the gadget serial port, gs_start_tx() will be called both from the sender context and from the write completion. Since the port lock is released before the packet is queued, the order in which the URBs are submitted is not gua

[PATCH] USB: f81232: fix some minor style issues

2015-03-27 Thread Johan Hovold
Fix some really minor coding-style issues. Signed-off-by: Johan Hovold --- drivers/usb/serial/f81232.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index 68016e7a86f7..972f5a5fe577 100644 --- a/drivers/u

Re: [PATCH V9 02/10] USB: f81232: implement RX bulk-in EP

2015-03-27 Thread Johan Hovold
On Tue, Mar 17, 2015 at 05:48:20PM +0800, Peter Hung wrote: > The F81232 bulk-in is RX data + LSR channel, data format is > [LSR+Data][LSR+Data]. , We had implemented in f81232_process_read_urb(). > > Signed-off-by: Peter Hung > static void f81232_process_read_urb(struct urb *urb) > { >

[GIT PULL] USB-serial fixes for v4.0-rc6

2015-03-27 Thread Johan Hovold
Hi Greg, Here are a few new device ids including a minor probe-logic clean up for 4.0-rc6. Thanks, Johan The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda: Linux 4.0-rc4 (2015-03-15 17:38:20 -0700) are available in the git repository at: git://git.kernel.org/pub

[PATCH] usbhid: yet another mouse with ALWAYS_POLL

2015-03-27 Thread Oliver Neukum
The device exists with two device IDs instead of one as previously believed. Signed-off-by: Oliver Neukum --- drivers/hid/hid-ids.h | 3 ++- drivers/hid/usbhid/hid-quirks.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-i

[PATCH] usbhid: typo in device ID

2015-03-27 Thread Oliver Neukum
The device ID was wrong. Signed-off-by: Oliver Neukum CC: sta...@vger.kernel.org --- drivers/hid/hid-ids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 9c47867..559d31c 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid

Re: Errata for Freescale root-hub TT?

2015-03-27 Thread Alan Stern
On Fri, 27 Mar 2015, Peter Chen wrote: > Hi Alan, > > I tried to your case today, but it seems full speed hub with siTD > has some problems with latest greg's next tree, I use UAC2 with > configfs for audio device, high speed hub works ok. > > The commands: > aplay -D hw:1,0 audio32k16M.wav > ar

[PATCH] usbhid: more mice with ALWAYS_POLL

2015-03-27 Thread Oliver Neukum
During a stress test these mice kept dropping and reappearing in runlevel 1 as opposed to 5. Signed-off-by: Oliver Neukum --- drivers/hid/hid-ids.h | 4 drivers/hid/usbhid/hid-quirks.c | 4 2 files changed, 8 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid

[PATCH v3 1/1] usb: chipidea: debug: add low power mode check before print registers

2015-03-27 Thread Li Jun
Since the required clock to access registers is gated off in low power mode, add ci->in_lpm check before try to dump registers value. Signed-off-by: Li Jun --- drivers/usb/chipidea/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/debug.c b/driv

Re: [PATCH v2 1/1] usb: chipidea: debug: add low power mode check before print registers

2015-03-27 Thread Li Jun
On Fri, Mar 27, 2015 at 05:07:59PM +0800, Peter Chen wrote: > On Fri, Mar 27, 2015 at 03:06:27PM +0800, Li Jun wrote: > > Since the required clock to access registers is gated off in low power mode, > > add ci->in_lpm check before try to dump registers value. > > > > Signed-off-by: Li Jun > > ---

Re: [PATCH v2 1/1] usb: chipidea: debug: add low power mode check before print registers

2015-03-27 Thread Peter Chen
On Fri, Mar 27, 2015 at 03:06:27PM +0800, Li Jun wrote: > Since the required clock to access registers is gated off in low power mode, > add ci->in_lpm check before try to dump registers value. > > Signed-off-by: Li Jun > --- > drivers/usb/chipidea/debug.c | 5 + > 1 file changed, 5 insertio

Re: [PATCH] usb: gadget: hid: Fix static variable usage

2015-03-27 Thread Krzysztof Opasiak
On Thu, Mar 26, 2015 at 7:51 PM, Sergei Shtylyov wrote: > Hello. > > On 03/26/2015 06:03 PM, Krzysztof Opasiak wrote: > >> If we have multiple instances of hid function, each of >> them may have different report descriptor, also their >> length may be different. > > >> Currently we are using stati

[PATCH v2] usb: gadget: hid: Fix static variable usage

2015-03-27 Thread Krzysztof Opasiak
If we have multiple instances of hid function, each of them may have different report descriptor, also their length may be different. Currently we are using static hidg_desc varable which is being filled in hidg_bind(). Then we send its content to host in hidg_setup() function. This content may ha

[PATCH 1/1] Doc: usb: gadget-testing: fix the parameter for capture channel mask

2015-03-27 Thread Peter Chen
Fix the UAC2 parameter capture channel mask Signed-off-by: Peter Chen --- Documentation/usb/gadget-testing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt index f45b2bf..7769eee 100644 --- a/Docu

Re: Errata for Freescale root-hub TT?

2015-03-27 Thread Peter Chen
On Wed, Mar 25, 2015 at 10:11:27AM -0400, Alan Stern wrote: > On Wed, 25 Mar 2015, Peter Chen wrote: > > > > > How do you know the frame has filled already at that time? The software > > > > makes sure it fills frame in time before next time frame? > > > > > > I'm not sure I understand the questi

Re: Need a phy function to enable / disable usb squelch detection

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 02:21, Peter Chen wrote: Hi Kishon, I've been debugging why some devices do not work with the musb otg controller found on Allwinner SoC-s, and the conclusion is not good, the Android kernel does a poke to the phy before releasing the usb reset. Now you did not want me to int

Re: [PATCH] usb: Fix warnings in chaoskey driver

2015-03-27 Thread Oliver Neukum
On Thu, 2015-03-26 at 16:49 -0700, kei...@keithp.com wrote: > > >> drivers/usb/misc/chaoskey.c:117:30: sparse: incorrect type in > assignment (different base types) > >drivers/usb/misc/chaoskey.c:117:30:expected int [signed] size > >drivers/usb/misc/chaoskey.c:117:30:got restricted

[PATCH v2 1/1] usb: chipidea: debug: add low power mode check before print registers

2015-03-27 Thread Li Jun
Since the required clock to access registers is gated off in low power mode, add ci->in_lpm check before try to dump registers value. Signed-off-by: Li Jun --- drivers/usb/chipidea/debug.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipide