ASoC: Intel: sof_sdw: allow mockup amplifier to provide feedback
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 31 Jul 2023 21:42:40 +0000 (16:42 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 31 Jul 2023 22:22:27 +0000 (23:22 +0100)
The capture setting are missing and preventing topologies with
feedback from loading.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230731214257.444605-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index b811446be4cd2e410dc921d380ee9ac39cdd2ae6..7e43be46cfa815feec43c1b30296b6e4b1f132fd 100644 (file)
@@ -942,10 +942,10 @@ static struct sof_sdw_codec_info codec_info_list[] = {
                .version_id = 0,
                .dais = {
                        {
-                               .direction = {true, false},
+                               .direction = {true, true},
                                .dai_name = "sdw-mockup-aif1",
                                .dai_type = SOF_SDW_DAI_TYPE_AMP,
-                               .dailink = {SDW_AMP_OUT_DAI_ID, SDW_UNUSED_DAI_ID},
+                               .dailink = {SDW_AMP_OUT_DAI_ID, SDW_AMP_IN_DAI_ID},
                                .init = NULL,
                        },
                },