]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ftdi_sio: set device latency timeout at port probe
authorJohan Hovold <jhovold@gmail.com>
Mon, 11 Oct 2010 18:23:36 +0000 (20:23 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:09 +0000 (10:22 -0700)
commitf99a2609e0c2512efef8af16015bd9be1e574921
tree1e026e2ce178a8e27e7fe97934166f8a25b12757
parent807bda5ec7449c02d968b9fccc1aaa07e7a9f73b
USB: ftdi_sio: set device latency timeout at port probe

No need to set latency timeout at every open.

This also fixes an issue with the read latency being as high as 250ms
(instead of 1ms) for the first read after port probe.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c