Re: [PATCH 1/2] usb: gadget/uvc: remove connect/disconnect calls on open/release

2013-05-05 Thread Peter Chen
On Sun, May 5, 2013 at 2:22 AM, Bhupesh SHARMA wrote: > Hi, > > > On 5/3/2013 6:00 PM, Vladimir Zapolskiy wrote: >> >> Hi Laurent, >> >> thank you for the comment. >> >> On 05/03/13 02:05, Laurent Pinchart wrote: >>> >>> Hi Vladimir, >>> >>> On Friday 03 May 2013 02:00:29 Vladimir Zapolskiy wrote:

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-05-05 Thread Li, Zhen-Hua (USL-China)
On 04/29/2013 02:55 AM, Alan Stern wrote: On Sun, 28 Apr 2013, ZhenHua wrote: In fact, the patch is so easy that I am including it below. Please test this (without either of your patches) to see if it works. Alan Stern Index: usb-3.9/drivers/usb/host/uhci-hub.c ===

[PATCH 5/7] USB: io_ti: fix chars_in_buffer overhead

2013-05-05 Thread Johan Hovold
Use the new generic usb-serial wait_until_sent implementation to wait for hardware buffers to drain. This removes the need to check the hardware buffers in chars_in_buffer and thus removes the overhead introduced by commit 263e1f9f ("USB: io_ti: query hardware-buffer status in chars_in_buffer") wi

[PATCH 1/7] USB: serial: add wait_until_sent operation

2013-05-05 Thread Johan Hovold
Add wait_until_sent operation which can be used to wait for hardware buffers to drain. Signed-off-by: Johan Hovold --- drivers/usb/serial/usb-serial.c | 17 + include/linux/usb/serial.h | 1 + 2 files changed, 18 insertions(+) diff --git a/drivers/usb/serial/usb-serial.c b

[PATCH 4/7] USB: ftdi_sio: fix chars_in_buffer overhead

2013-05-05 Thread Johan Hovold
Use the new generic usb-serial wait_until_sent implementation to wait for hardware buffers to drain. This removes the need to check the hardware buffers in chars_in_buffer and thus removes the overhead introduced by commit 6f602912 ("usb: serial: ftdi_sio: Add missing chars_in_buffer function") wi

[PATCH 7/7] USB: serial: clean up chars_in_buffer

2013-05-05 Thread Johan Hovold
No need to grab disconnect mutex in chars_in_buffer now that no sub-driver is or should be querying hardware buffers anymore. (They should use wait_until_sent.) Signed-off-by: Johan Hovold --- drivers/usb/serial/usb-serial.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff

[PATCH 2/7] USB: serial: add generic wait_until_sent implementation

2013-05-05 Thread Johan Hovold
Add generic wait_until_sent implementation which polls for empty hardware buffers using the new port-operation tx_empty. The generic implementation will be used for all sub-drivers that implement tx_empty but does not define wait_until_sent. Signed-off-by: Johan Hovold --- drivers/usb/serial/ge

[PATCH 0/7] USB: serial: add wait_until_sent-support

2013-05-05 Thread Johan Hovold
These patches add wait_until_sent-support to usb-serial, which removes the need to check hardware buffers in chars_in_buffer. This fixes a problem in ftdi_sio (since 3.7) where select or TIOCMOUTQ would take much longer than before due the hardware buffers being queried. Hardware buffers are also

[PATCH 3/7] USB: ftdi_sio: clean up get_modem_status

2013-05-05 Thread Johan Hovold
Use usb-serial port rather than tty as argument to get_modem_status. Signed-off-by: Johan Hovold --- drivers/usb/serial/ftdi_sio.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 242b577..1159fd4 100

[PATCH 6/7] USB: ti_usb_3410_5052: fix chars_in_buffer overhead

2013-05-05 Thread Johan Hovold
Use the new generic usb-serial wait_until_sent implementation to wait for hardware buffers to drain. This removes the need to check the hardware buffers in chars_in_buffer and thus removes the overhead introduced by commit 2c992cd73 ("USB: ti_usb_3410_5052: query hardware-buffer status in chars_in

Re: Regression: ftdi_sio is slow (since Wed Oct 10 15:05:06 2012)

2013-05-05 Thread Johan Hovold
On Sat, May 04, 2013 at 07:39:57AM -0400, Peter Hurley wrote: > On 05/04/2013 07:15 AM, Johan Hovold wrote: > > On Sat, May 04, 2013 at 01:50:42AM +0400, Stas Sergeev wrote: > >> 04.05.2013 00:34, Greg KH пишет: > >>> On Fri, May 03, 2013 at 10:27:18PM +0400, Stas Sergeev wrote: > 03.05.2013 2

Attn:Winner

2013-05-05 Thread James Brynes
13 STAINES MIDDLESEX?TW184TP ??LONDON.UNITED? ?564-756-545-188 S/N-0088168 ?BTL/491OXI/04 ?? ??? FPS??? 2013?4??? ??? 1,000,000,000?? ??