projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1c8087
)
ASoC: Intel: sof_ssp_amp: enable capture stream from cs35l41
author
Brent Lu
<brent.lu@intel.com>
Mon, 9 May 2022 17:09:22 +0000
(12:09 -0500)
committer
Mark Brown
<broonie@kernel.org>
Tue, 10 May 2022 13:01:51 +0000
(14:01 +0100)
Enable capture stream of the cs35l41 dai link to support feedback
stream from amplifier.
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/20220509170922.54868-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_ssp_amp.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/boards/sof_ssp_amp.c
b/sound/soc/intel/boards/sof_ssp_amp.c
index
675ade8
..
4a762e0
100644
(file)
--- a/
sound/soc/intel/boards/sof_ssp_amp.c
+++ b/
sound/soc/intel/boards/sof_ssp_amp.c
@@
-258,6
+258,9
@@
static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev,
sof_rt1308_dai_link(&links[id]);
} else if (sof_ssp_amp_quirk & SOF_CS35L41_SPEAKER_AMP_PRESENT) {
cs35l41_set_dai_link(&links[id]);
+
+ /* feedback from amplifier */
+ links[id].dpcm_capture = 1;
}
links[id].platforms = platform_component;
links[id].num_platforms = ARRAY_SIZE(platform_component);