USB: ftdi_sio: fix initialisation of latency timeout
authorJohan Hovold <jhovold@gmail.com>
Sun, 22 Nov 2009 20:25:20 +0000 (21:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:04 +0000 (14:53 -0800)
commit8c4f99cd54469d643e27a743045da848f7b63fe5
tree99ceced5dcbba8a1f5dfd6c77371963a399ddbc8
parentb4fc2aeef23b4b35809054ddf495f9efdc3ac9d6
USB: ftdi_sio: fix initialisation of latency timeout

Latency timeout was read but never stored on port probe. When
ASYNC_LOW_LATENCY was cleared the device timeout would get set to 0
rather than the default 16ms.

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