drivers: uart: stm32: Enable wakeup source only if supported
LL_USART_EnableInStopMode may not be available on some series.
Since PM is not enabled on those series and might never be, use a
shortcut for this case.
Signed-off-by:
Erwan Gouriou <erwan.gouriou@linaro.org>
Loading
Please sign in to comment