|
@@ -1982,6 +1982,13 @@ static void serial_imx_enable_wakeup(struct imx_port *sport, bool on)
|
|
|
else
|
|
else
|
|
|
val &= ~UCR3_AWAKEN;
|
|
val &= ~UCR3_AWAKEN;
|
|
|
writel(val, sport->port.membase + UCR3);
|
|
writel(val, sport->port.membase + UCR3);
|
|
|
|
|
+
|
|
|
|
|
+ val = readl(sport->port.membase + UCR1);
|
|
|
|
|
+ if (on)
|
|
|
|
|
+ val |= UCR1_RTSDEN;
|
|
|
|
|
+ else
|
|
|
|
|
+ val &= ~UCR1_RTSDEN;
|
|
|
|
|
+ writel(val, sport->port.membase + UCR1);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static int imx_serial_port_suspend_noirq(struct device *dev)
|
|
static int imx_serial_port_suspend_noirq(struct device *dev)
|