mirror of https://github.com/thesofproject/sof.git
Drivers: Intel: DMIC: Move driver code to subdirectory dmic
In preparation for more functionality the module is moved to own directory similarly as other DAI drivers. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
d1abc88153
commit
922cb6af7c
|
@ -22,5 +22,5 @@ if(CONFIG_INTEL_ALH)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_INTEL_DMIC)
|
if(CONFIG_INTEL_DMIC)
|
||||||
add_local_sources(sof dmic.c)
|
add_subdirectory(dmic)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
add_local_sources(sof dmic.c)
|
|
@ -153,7 +153,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V15)
|
||||||
)
|
)
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
||||||
${SOF_DRIVERS_PATH}/intel/dmic.c
|
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
|
||||||
)
|
)
|
||||||
|
|
||||||
# Platform sources
|
# Platform sources
|
||||||
|
@ -206,7 +206,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V18)
|
||||||
)
|
)
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
||||||
${SOF_DRIVERS_PATH}/intel/dmic.c
|
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
|
||||||
)
|
)
|
||||||
|
|
||||||
# Platform sources
|
# Platform sources
|
||||||
|
@ -261,7 +261,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V20)
|
||||||
)
|
)
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
||||||
${SOF_DRIVERS_PATH}/intel/dmic.c
|
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
|
||||||
)
|
)
|
||||||
|
|
||||||
# Platform sources
|
# Platform sources
|
||||||
|
@ -318,7 +318,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V25)
|
||||||
)
|
)
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
|
||||||
${SOF_DRIVERS_PATH}/intel/dmic.c
|
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
|
||||||
)
|
)
|
||||||
|
|
||||||
# Platform sources
|
# Platform sources
|
||||||
|
|
Loading…
Reference in New Issue