This series does not add new functionality but introduces a better code partition to support machine drivers in Device Tree, as well as a 'componentization' of the PCM/topology parts needed for multi-client support.
This cleanup was merged in the SOF tree and tested extensively with no regressions identified. Thanks Ranjani and Daniel for combining your proposals in a single change.
Changes since v1: Rebased on top of Jaroslav's HDaudio changes (added in this series as discussed with Mark)
Daniel Baluta (2): ASoC: SOF: Make creation of machine device from SOF core optional ASoC: SOF: Remove unused drv_name in sof_pdata
Jaroslav Kysela (3): ASoC: intel/skl/hda - export number of digital microphones via control components ASoC: Intel - use control components to describe card config ASoC: Intel - do not describe I/O configuration in the long card name
Ranjani Sridharan (8): ASoC: SOF: topology: remove snd_sof_init_topology() ASoC: SOF: core: modify the signature for snd_sof_create_page_table ASoC: SOF: core: move check for runtime callbacks to core ASoC: SOF: Introduce default_fw_filename member in sof_dev_desc ASoC: SOF: partition audio-related parts from SOF core ASoC: SOF: intel: hda: Modify signature for hda_codec_probe_bus() ASoC: SOF: remove nocodec_fw_filename ASoC: SOF: nocodec: Amend arguments for sof_nocodec_setup()
include/sound/sof.h | 8 +- sound/soc/intel/boards/Kconfig | 13 + sound/soc/intel/boards/bytcht_es8316.c | 13 +- sound/soc/intel/boards/bytcr_rt5640.c | 10 + sound/soc/intel/boards/bytcr_rt5651.c | 22 +- sound/soc/intel/boards/skl_hda_dsp_generic.c | 8 + sound/soc/sof/Makefile | 2 +- sound/soc/sof/control.c | 55 +-- sound/soc/sof/core.c | 244 +--------- sound/soc/sof/intel/apl.c | 7 + sound/soc/sof/intel/bdw.c | 33 ++ sound/soc/sof/intel/byt.c | 45 ++ sound/soc/sof/intel/cnl.c | 7 + sound/soc/sof/intel/hda-codec.c | 16 +- sound/soc/sof/intel/hda-dai.c | 1 + sound/soc/sof/intel/hda-pcm.c | 4 +- sound/soc/sof/intel/hda-stream.c | 1 + sound/soc/sof/intel/hda.c | 228 ++++++---- sound/soc/sof/intel/hda.h | 8 +- sound/soc/sof/ipc.c | 16 +- sound/soc/sof/nocodec.c | 12 - sound/soc/sof/ops.h | 34 ++ sound/soc/sof/pcm.c | 131 +++--- sound/soc/sof/pm.c | 219 +-------- sound/soc/sof/sof-acpi-dev.c | 39 +- sound/soc/sof/sof-audio.c | 445 +++++++++++++++++++ sound/soc/sof/sof-audio.h | 211 +++++++++ sound/soc/sof/sof-of-dev.c | 24 +- sound/soc/sof/sof-pci-dev.c | 47 +- sound/soc/sof/sof-priv.h | 202 +-------- sound/soc/sof/topology.c | 374 ++++++++-------- sound/soc/sof/trace.c | 4 +- sound/soc/sof/utils.c | 60 +++ 33 files changed, 1380 insertions(+), 1163 deletions(-) create mode 100644 sound/soc/sof/sof-audio.c create mode 100644 sound/soc/sof/sof-audio.h