summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/stm32-usart.h
diff options
context:
space:
mode:
authorAlexandre Torgue <alexandre.torgue@foss.st.com>2021-03-19 19:42:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 10:28:18 +0100
commit3d530017bef1de7f7773eb9d3c65fbce924894a2 (patch)
treec12890a358b28f72f910f1b7d01d98f2d66fa368 /drivers/tty/serial/stm32-usart.h
parent986e9f6038575d447393d393dc2022a91488110a (diff)
downloadlinux-stable-3d530017bef1de7f7773eb9d3c65fbce924894a2.tar.gz
linux-stable-3d530017bef1de7f7773eb9d3c65fbce924894a2.tar.bz2
linux-stable-3d530017bef1de7f7773eb9d3c65fbce924894a2.zip
serial: stm32: update wakeup IRQ management
The wakeup specific IRQ management is no more needed to wake up the stm32 plaform. A relationship has been established between the EXTI and the EVENT IRQ, just need to declare the EXTI interrupt instead of the UART event IRQ. Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com> Link: https://lore.kernel.org/r/20210319184253.5841-5-erwan.leray@foss.st.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/stm32-usart.h')
-rw-r--r--drivers/tty/serial/stm32-usart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/stm32-usart.h b/drivers/tty/serial/stm32-usart.h
index 94b568aa46bb..a86773f1a4c4 100644
--- a/drivers/tty/serial/stm32-usart.h
+++ b/drivers/tty/serial/stm32-usart.h
@@ -269,7 +269,7 @@ struct stm32_port {
bool tx_dma_busy; /* dma tx busy */
bool hw_flow_control;
bool fifoen;
- int wakeirq;
+ bool wakeup_src;
int rdr_mask; /* receive data register mask */
struct mctrl_gpios *gpios; /* modem control gpios */
};