mirror of https://github.com/thesofproject/sof.git
lib: dai: add entry for NXP's ESAI
Add entry for NXP's ESAI IP inside the "zephyr_dev" array. What the entry does is it fetches all "struct device"s for ESAI nodes marked as "okay". Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
43422abe02
commit
ca72c403a3
|
@ -148,6 +148,9 @@ const struct device *zephyr_dev[] = {
|
|||
#if CONFIG_DAI_NXP_SAI
|
||||
DT_FOREACH_STATUS_OKAY(nxp_dai_sai, GET_DEVICE_LIST)
|
||||
#endif
|
||||
#if CONFIG_DAI_NXP_ESAI
|
||||
DT_FOREACH_STATUS_OKAY(nxp_dai_esai, GET_DEVICE_LIST)
|
||||
#endif
|
||||
};
|
||||
|
||||
static const struct device *dai_get_zephyr_device(uint32_t type, uint32_t index)
|
||||
|
|
Loading…
Reference in New Issue