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)
commitc19db4c9e49a049054594272d408e101aaf41b27
tree1e026e2ce178a8e27e7fe97934166f8a25b12757
parent3ed780117dbe5acb64280d218f0347f238dafed0
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