Skip to content

Commit e890361

Browse files
brentluplbossart
authored andcommitted
ASoC: Intel: sof_ssp_amp: enable capture stream from cs35l41
Enable capture stream of the cs35l41 dai link to support feedback stream from amplifier. Signed-off-by: Brent Lu <brent.lu@intel.com>
1 parent aaa2855 commit e890361

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sound/soc/intel/boards/sof_ssp_amp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev,
258258
sof_rt1308_dai_link(&links[id]);
259259
} else if (sof_ssp_amp_quirk & SOF_CS35L41_SPEAKER_AMP_PRESENT) {
260260
cs35l41_set_dai_link(&links[id]);
261+
262+
/* feedback from amplifier */
263+
links[id].dpcm_capture = 1;
261264
}
262265
links[id].platforms = platform_component;
263266
links[id].num_platforms = ARRAY_SIZE(platform_component);

0 commit comments

Comments
 (0)