serial: stm32: fix wakeup source initialization
authorErwan Le Ray <erwan.leray@st.com>
Tue, 21 May 2019 15:45:46 +0000 (17:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2019 07:58:29 +0000 (09:58 +0200)
commit5297f274e8b61ceb9676cba6649d3de9d03387ad
tree31930f6aef573332cbe85e5c4c5837f73f3078d7
parent64c32eab660386f9904bb295a104c9c425e9f8b2
serial: stm32: fix wakeup source initialization

Fixes dedicated_irq_wakeup issue and deactivated uart as wakeup source by
default.

Fixes: 270e5a74fe4c ("serial: stm32: add wakeup mechanism")
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c