drivers/i2s: stm32: Fix pinmux

Update the I2S_INIT macro to correct the i2s_pins loading.

Signed-off-by: William MARTIN <william.martin@power-lan.com>
This commit is contained in:
William MARTIN 2021-04-19 15:32:42 +02:00 committed by Anas Nashif
commit e61b957a0f

View file

@ -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);\
\