This driver uses the NRF_CLOCK_HAS_HFCLKAUDIO symbol that is defined in <hal/nrf_clock.h>, so it should explicitly include that header, not count on this inclusion being done by some other header, like <zephyr/drivers/clock_control/nrf_clock_control.h>. Extend also the build assertion that checks if the audio clock can be used so that now it ensures that the above symbol is defined (to prevent the driver from silently discarding the audio clock configured as the clock source). Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| i2s_common.c | ||
| i2s_esp32.c | ||
| i2s_handlers.c | ||
| i2s_litex.c | ||
| i2s_litex.h | ||
| i2s_ll_stm32.c | ||
| i2s_ll_stm32.h | ||
| i2s_mcux_flexcomm.c | ||
| i2s_mcux_sai.c | ||
| i2s_nrf_tdm.c | ||
| i2s_nrfx.c | ||
| i2s_sam_ssc.c | ||
| i2s_silabs_siwx91x.c | ||
| i2s_stm32_sai.c | ||
| i2s_test.c | ||
| Kconfig | ||
| Kconfig.esp32 | ||
| Kconfig.litex | ||
| Kconfig.mcux | ||
| Kconfig.mcux_flexcomm | ||
| Kconfig.nrfx | ||
| Kconfig.sam_ssc | ||
| Kconfig.siwx91x | ||
| Kconfig.stm32 | ||
| Kconfig.test | ||