USB: f81232: clarify f81232_ioctl() and fix
authorPeter Hung <hpeter@gmail.com>
Tue, 17 Mar 2015 09:48:26 +0000 (17:48 +0800)
committerJohan Hovold <johan@kernel.org>
Fri, 27 Mar 2015 16:29:27 +0000 (17:29 +0100)
commit88d35cffff83cc0b11d6e7a2bef73b602f156da0
treed57ff8797840ba3afd206d2294823295cead4933
parent8bb4ca6b56bdf65944d0848561ea8dcf53a87507
USB: f81232: clarify f81232_ioctl() and fix

We extract TIOCGSERIAL section in f81232_ioctl() to f81232_get_serial_info()
to make it clarify.

Also we fix device type from 16654 to 16550A, and set it's baud_base
to 115200 (1.8432MHz/16).

Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81232.c