9
0
Fork 0

S3C24XX: Fix wrong RTS behaviour

Enabling AUTOSYNC means enabling the auto sync feature, not rising the RTS

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Juergen Beisert 2011-11-26 19:32:49 +01:00 committed by Sascha Hauer
parent 68284282be
commit 6fa8c93a5e
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ static int s3c24x0_serial_init_port(struct console_device *cdev)
writew(0x0245, base + UCON);
#ifdef CONFIG_DRIVER_SERIAL_S3C24X0_AUTOSYNC
writeb(0x10, base + UMCON); /* enable auto flow control */
#else
writeb(0x01, base + UMCON); /* RTS up */
#endif