]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-acpi: add new fields for mach_params
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 9 Apr 2021 22:01:17 +0000 (15:01 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 12 Apr 2021 16:05:51 +0000 (17:05 +0100)
commita564edb0edc4b04acd6eccbd9a8458de91be59e3
treeee0fa48488ca54da72aca4f382ba5a17bd6ebfe0
parent8712d51b7df1e54d0f1c8e116c895a49bb9b7e65
ASoC: soc-acpi: add new fields for mach_params

We currently have an ugly way of handling the SOF nocodec mode, with
blatant violations between layers. To create the nocodec card, let's
add two new fields and the existing mach_params structure, that way
there will be no differences with regular cards.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210409220121.1542362-3-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h