]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty: serdev-ttyport: return actual baudrate from ttyport_set_baudrate
authorStefan Wahren <stefan.wahren@i2se.com>
Wed, 10 May 2017 08:53:27 +0000 (10:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:19:16 +0000 (16:19 +0200)
commit56c607b509587e67e5f53587fdb05698ef85e278
treeb0643426be1a47df49785c79a0fb62dcb2805740
parent352b92664549e9dcdded742424a96aac9a0dbb40
tty: serdev-ttyport: return actual baudrate from ttyport_set_baudrate

Instead of returning the requested baudrate, we better return the
actual one because it isn't always the same.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/serdev-ttyport.c