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:
parent
68284282be
commit
6fa8c93a5e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue