drivers/uart: stm32: Report 9bits transactions as not supported
STM32 uart driver doesn't support 9bits transactions in any case, so remove case were it was declared as supported. Fixes #31799 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
a276603c2d
commit
32fe2976f3
1 changed files with 1 additions and 4 deletions
|
@ -339,10 +339,7 @@ static int uart_stm32_configure(const struct device *dev,
|
|||
#ifndef LL_USART_DATAWIDTH_7B
|
||||
|| (UART_CFG_DATA_BITS_7 == cfg->data_bits)
|
||||
#endif /* LL_USART_DATAWIDTH_7B */
|
||||
#ifndef LL_USART_DATAWIDTH_9B
|
||||
|| (UART_CFG_DATA_BITS_9 == cfg->data_bits)
|
||||
#endif /* LL_USART_DATAWIDTH_9B */
|
||||
) {
|
||||
|| (UART_CFG_DATA_BITS_9 == cfg->data_bits)) {
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue