commit | 3f3a978b9f4a513610b32f16670914006a61067f | [log] [tgz] |
---|---|---|
author | Sonic Zhang <sonic.zhang@analog.com> | Tue Mar 09 12:25:29 2010 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri May 21 09:34:27 2010 -0700 |
tree | bd7f6b46a8f7c153ba370e0382a9dc7dc7ab1cea | |
parent | a5a420d207df40226afbf828c12bd9b4c6e058ef [diff] |
serial: bfin_sport_uart: shorten the SPORT TX waiting loop The waiting loop to stop SPORT TX from TX interrupt is too long. This may block the SPORT RX interrupts and cause the RX FIFO to overflow. So, do stop sport TX only after the last char in TX FIFO is moved into the shift register. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>