commit | 1cd3f2d2c99892209c4751155ae56ff18b1b253e | [log] [tgz] |
---|---|---|
author | Sonic Zhang <sonic.zhang@analog.com> | Mon Nov 19 14:40:56 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 21 15:43:26 2012 -0800 |
tree | c4ee87525a902864fabf66f5ce3ec0d18756ebde | |
parent | 159a8e92fdf6967cb67e7639832f819fbc607242 [diff] |
serial: bfin_uart: Don't switch baud rate untill the transfer buffer is empty. set_termios may be invoked before the former data transfer is completed. Block until the tranfer is done. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>