From e61b957a0f609f523eaf14a41de35f3c73b1290c Mon Sep 17 00:00:00 2001 From: William MARTIN Date: Mon, 19 Apr 2021 15:32:42 +0200 Subject: [PATCH] drivers/i2s: stm32: Fix pinmux Update the I2S_INIT macro to correct the i2s_pins loading. Signed-off-by: William MARTIN --- drivers/i2s/i2s_ll_stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2s/i2s_ll_stm32.c b/drivers/i2s/i2s_ll_stm32.c index de6e50816e3..de9c283a275 100644 --- a/drivers/i2s/i2s_ll_stm32.c +++ b/drivers/i2s/i2s_ll_stm32.c @@ -890,7 +890,7 @@ static const struct device *get_dev_from_tx_dma_channel(uint32_t dma_channel) #define I2S_INIT(index, clk_sel) \ static const struct soc_gpio_pinctrl i2s_pins_##index[] = \ - ST_STM32_DT_INST_PINCTRL(index, 0);\ + ST_STM32_DT_PINCTRL(i2s##index, 0);\ \ static void i2s_stm32_irq_config_func_##index(const struct device *dev);\ \