Commit da0f843e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "serial: stm32: select pinctrl state in each suspend/resume function"

This reverts commit c70669ec as it
breaks the build.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Cc: Bich Hemon <bich.hemon@st.com>
Cc: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba3684f9
......@@ -1295,8 +1295,6 @@ static int stm32_serial_suspend(struct device *dev)
else
stm32_serial_enable_wakeup(port, false);
pinctrl_pm_select_sleep_state(dev);
return 0;
}
......@@ -1304,8 +1302,6 @@ static int stm32_serial_resume(struct device *dev)
{
struct uart_port *port = dev_get_drvdata(dev);
pinctrl_pm_select_default_state(dev);
if (device_may_wakeup(dev))
stm32_serial_enable_wakeup(port, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment