serial: uartps: Add the device_init_wakeup
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 18 Dec 2018 12:18:39 +0000 (13:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Dec 2018 07:23:20 +0000 (08:23 +0100)
commit86df8dd147233fd1705b9f7a8541d1501d4c5295
treeb24b19bc5015744c195a89d7e05acdd1e87f5386
parentec18f48bbc415bbdf6c9764603e2a18d5f04943d
serial: uartps: Add the device_init_wakeup

Initialise the device wakeup.

The device_init_wakeup is needed for the wakeup to work by default.
Uart can be configured as the primary wakeup source so it is good to
enable wakeup by default.

The same functionality is enabled also by 8250_omap, atmel_serial,
omap-serial and stm32-usart.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c