[PATCH 5.11 150/601] serial: stm32: fix a deadlock condition with wakeup event