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:
Seppo Ingalsuo 2021-04-12 15:54:29 +03:00 committed by Liam Girdwood
parent d1abc88153
commit 922cb6af7c
4 changed files with 8 additions and 5 deletions

View File

@ -22,5 +22,5 @@ if(CONFIG_INTEL_ALH)
endif()
if(CONFIG_INTEL_DMIC)
add_local_sources(sof dmic.c)
add_subdirectory(dmic)
endif()

View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: BSD-3-Clause
add_local_sources(sof dmic.c)

View File

@ -153,7 +153,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V15)
)
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
${SOF_DRIVERS_PATH}/intel/dmic.c
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
)
# Platform sources
@ -206,7 +206,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V18)
)
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
${SOF_DRIVERS_PATH}/intel/dmic.c
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
)
# Platform sources
@ -261,7 +261,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V20)
)
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
${SOF_DRIVERS_PATH}/intel/dmic.c
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
)
# Platform sources
@ -318,7 +318,7 @@ if (CONFIG_SOC_SERIES_INTEL_CAVS_V25)
)
zephyr_library_sources_ifdef(CONFIG_INTEL_DMIC
${SOF_DRIVERS_PATH}/intel/dmic.c
${SOF_DRIVERS_PATH}/intel/dmic/dmic.c
)
# Platform sources