serial: bfin_uart: Don't switch baud rate untill the transfer buffer is empty.
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 19 Nov 2012 06:40:56 +0000 (14:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:43:26 +0000 (15:43 -0800)
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>

No differences found