Change-Id: I85a472eca32c6447aee9b571fda83b18928266e0
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
if (port) {
uart_suspend_port(&s3c24xx_uart_drv, port);
#ifdef CONFIG_SERIAL_SAMSUNG_HWACG
+ uart_clock_enable(ourport);
/* disable Tx, Rx mode bit for suspend in case of HWACG */
ucon = rd_regl(port, S3C2410_UCON);
ucon &= ~(S3C2410_UCON_RXIRQMODE | S3C2410_UCON_TXIRQMODE) ;
wr_regl(port, S3C2410_UCON, ucon);
+ uart_clock_disable(ourport);
+
rx_enabled(port) = 0;
tx_enabled(port) = 0;
#endif