MLK-21228-02 tty: serial: imx: remove wakeup enable in .suspend()
authorFugang Duan <fugang.duan@nxp.com>
Wed, 20 Mar 2019 10:03:46 +0000 (18:03 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Remove wakeup enable in .suspend() that is dummy code that is
introduced by commit 527fc6e2113d(MLK-13798 tty: serial: imx:
Only poke at suspend wakeup bits in noirq phase).

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/tty/serial/imx.c

index e566b13..42d50a2 100644 (file)
@@ -2569,9 +2569,6 @@ static int imx_uart_suspend(struct device *dev)
        if (ret)
                return ret;
 
-       /* enable wakeup from i.MX UART */
-       imx_uart_enable_wakeup(sport, true);
-
        return 0;
 }