S3C24XX: Fix wrong RTS behaviour
Enabling AUTOSYNC means enabling the auto sync feature, not rising the RTS
Signed-off-by Juergen Beisert <[email protected]>
--- drivers/serial/serial_s3c24x0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/serial/serial_s3c24x0.c +2 -0
@@ -72,6 +72,8 @@ static int s3c24x0_serial_init_port(struwritew (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
Signature · 7 lines
Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox