USB: pl2303: enforce baud-rate limits before lookup
authorJohan Hovold <jhovold@gmail.com>
Sun, 29 Dec 2013 18:23:12 +0000 (19:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Jan 2014 20:31:48 +0000 (12:31 -0800)
commit871996ede12306cd1d75ed8135bed6f1fcbcd0e6
treef3b1b7bcf80f1eced6c311d448aeb9ec4fafd8da
parent59afe10e8dd33d26f8c2ae7572f9023044e71bab
USB: pl2303: enforce baud-rate limits before lookup

Enforce any baud-rate limits before doing table lookup.

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