drivers: dai: fix bad GENMASK in NXP driver

Fixed swapped GENMASK arguments causing bad mask to be generated.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-06-16 15:06:16 +02:00 committed by Anas Nashif
parent e454aaa6b6
commit 8365dd5cfc

View File

@ -15,7 +15,7 @@ LOG_MODULE_REGISTER(nxp_dai_sai);
#ifdef CONFIG_SAI_HAS_MCLK_CONFIG_OPTION
#define SAI_MCLK_MCR_MSEL_SHIFT 24
#define SAI_MCLK_MCR_MSEL_MASK GENMASK(24, 25)
#define SAI_MCLK_MCR_MSEL_MASK GENMASK(25, 24)
#endif /* CONFIG_SAI_HAS_MCLK_CONFIG_OPTION */
/* workaround the fact that device_map() doesn't exist for SoCs with no MMU */
#ifndef DEVICE_MMIO_IS_IN_RAM