serial: stm32: select pinctrl state in each suspend/resume function
authorBich Hemon <bich.hemon@st.com>
Tue, 4 Jun 2019 08:55:12 +0000 (10:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 16:47:43 +0000 (18:47 +0200)
commitc70669ecef4e34af8913108fae4b8a9b1dc63fa1
tree24eea6f8d90cde7b58df969e8a56b5f7a8bf8ba6
parent15b3cd8ef46ad1b100e0d3c7e38774f330726820
serial: stm32: select pinctrl state in each suspend/resume function

Select either pinctrl sleep state in suspend function or default state in
resume function.

Signed-off-by: Bich Hemon <bich.hemon@st.com>
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