From: Alexey Charkov Date: Sat, 6 Sep 2014 17:21:14 +0000 (+0400) Subject: tty: vt8500_serial: explicitly calculate base baud rate X-Git-Tag: fixes-for-v3.18-merge-window~14^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa387c152fce7ae5cb29f2b191a1570cd04db5f;p=pandora-kernel.git tty: vt8500_serial: explicitly calculate base baud rate Current code relies on the UART clock pre-divisor to be already configured in the baud rate register. Calculate it in the driver and set explicitly instead, also return the "real" effective baud rate, which is generally slightly different from the requested value. While at this, also ensure that break signal timing is updated when baud rate changes. Signed-off-by: Alexey Charkov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed