Skip to content

Commit

Permalink
stm32h7:serial Remove .txdmasem = SEM_INITIALIZER(1) from cherry pick
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 authored and pkarashchenko committed Dec 6, 2023
1 parent a59a4ca commit e1a9e8f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/arm/src/stm32h7/stm32_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,6 @@ static struct up_dev_s g_usart1priv =
#endif
#ifdef CONFIG_USART1_TXDMA
.txdma_channel = DMAMAP_USART1_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_USART1_RXDMA
.rxdma_channel = DMAMAP_USART1_RX,
Expand Down Expand Up @@ -1034,7 +1033,6 @@ static struct up_dev_s g_usart2priv =
#endif
#ifdef CONFIG_USART2_TXDMA
.txdma_channel = DMAMAP_USART2_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_USART2_RXDMA
.rxdma_channel = DMAMAP_USART2_RX,
Expand Down Expand Up @@ -1104,7 +1102,6 @@ static struct up_dev_s g_usart3priv =
#endif
#ifdef CONFIG_USART3_TXDMA
.txdma_channel = DMAMAP_USART3_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_USART3_RXDMA
.rxdma_channel = DMAMAP_USART3_RX,
Expand Down Expand Up @@ -1174,7 +1171,6 @@ static struct up_dev_s g_uart4priv =
.rx_gpio = GPIO_UART4_RX,
#ifdef CONFIG_UART4_TXDMA
.txdma_channel = DMAMAP_UART4_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_UART4_RXDMA
.rxdma_channel = DMAMAP_UART4_RX,
Expand Down Expand Up @@ -1244,7 +1240,6 @@ static struct up_dev_s g_uart5priv =
.rx_gpio = GPIO_UART5_RX,
#ifdef CONFIG_UART5_TXDMA
.txdma_channel = DMAMAP_UART5_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_UART5_RXDMA
.rxdma_channel = DMAMAP_UART5_RX,
Expand Down Expand Up @@ -1314,7 +1309,6 @@ static struct up_dev_s g_usart6priv =
#endif
#ifdef CONFIG_USART6_TXDMA
.txdma_channel = DMAMAP_USART6_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_USART6_RXDMA
.rxdma_channel = DMAMAP_USART6_RX,
Expand Down Expand Up @@ -1384,7 +1378,6 @@ static struct up_dev_s g_uart7priv =
#endif
#ifdef CONFIG_UART7_TXDMA
.txdma_channel = DMAMAP_UART7_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_UART7_RXDMA
.rxdma_channel = DMAMAP_UART7_RX,
Expand Down Expand Up @@ -1454,7 +1447,6 @@ static struct up_dev_s g_uart8priv =
#endif
#ifdef CONFIG_UART8_TXDMA
.txdma_channel = DMAMAP_UART8_TX,
.txdmasem = SEM_INITIALIZER(1),
#endif
#ifdef CONFIG_UART8_RXDMA
.rxdma_channel = DMAMAP_UART8_RX,
Expand Down

0 comments on commit e1a9e8f

Please sign in to comment.