USB: pl2303: switch to generic TIOCMIWAIT implementation
authorJohan Hovold <jhovold@gmail.com>
Thu, 2 Jan 2014 21:49:23 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Jan 2014 20:42:23 +0000 (12:42 -0800)
commita4bcb2945926901bbacf978eb0c0fdda5b327dc7
tree577c861a23bd2fc717026fa5aac48bc0df390d9f
parentdbfd2866ac36bab52a4f37384e935eb5df76ad60
USB: pl2303: switch to generic TIOCMIWAIT implementation

Switch to the generic TIOCMIWAIT implementation which does not suffer
from the races involved when using the deprecated sleep_on functions.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c