diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2010-08-29 00:32:55 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 00:36:17 +0400 |
commit | ab36a5f7408546676c79ce7bd20633a5a76ecb58 (patch) | |
tree | 3177cc8e4ebf29c3233e116bc1868cd025fa7581 | |
parent | 1e34225fcdadc793e910d5edfd9c2a48930d42d4 (diff) | |
download | linux-ab36a5f7408546676c79ce7bd20633a5a76ecb58.tar.xz |
serial: bfin_sport_uart: restore transmit frame sync fix
commit 336746918299f2ca16b31490655b4ff7c8824c87 upstream.
The large cleanup/rewrite of resources in commit ccf68e59e93181df9353c0cc
accidentally reverted an earlier fix in commit a19e8b205915b2925aca75b.
So restore it here.
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>
-rw-r--r-- | drivers/serial/bfin_sport_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/bfin_sport_uart.c b/drivers/serial/bfin_sport_uart.c index e57fb3d228e2..5318dd3774ae 100644 --- a/drivers/serial/bfin_sport_uart.c +++ b/drivers/serial/bfin_sport_uart.c @@ -121,7 +121,7 @@ static int sport_uart_setup(struct sport_uart_port *up, int size, int baud_rate) unsigned int sclk = get_sclk(); /* Set TCR1 and TCR2, TFSR is not enabled for uart */ - SPORT_PUT_TCR1(up, (ITFS | TLSBIT | ITCLK)); + SPORT_PUT_TCR1(up, (LATFS | ITFS | TFSR | TLSBIT | ITCLK)); SPORT_PUT_TCR2(up, size + 1); pr_debug("%s TCR1:%x, TCR2:%x\n", __func__, SPORT_GET_TCR1(up), SPORT_GET_TCR2(up)); |