mirror of https://github.com/thesofproject/sof.git
lib: dai: Add entry for NXP's SAI
Since the Zephyr SAI driver is now enabled, add an entry in the zephyr_dev array, which will resolve to multiple "struct device *", one for each SAI node specified in the DTS. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
c375a95245
commit
237a2faca4
|
@ -145,6 +145,9 @@ const struct device *zephyr_dev[] = {
|
|||
#if CONFIG_DAI_INTEL_HDA
|
||||
DT_FOREACH_STATUS_OKAY(intel_hda_dai, GET_DEVICE_LIST)
|
||||
#endif
|
||||
#if CONFIG_DAI_NXP_SAI
|
||||
DT_FOREACH_STATUS_OKAY(nxp_dai_sai, GET_DEVICE_LIST)
|
||||
#endif
|
||||
};
|
||||
|
||||
static const struct device *dai_get_zephyr_device(uint32_t type, uint32_t index)
|
||||
|
|
Loading…
Reference in New Issue