Skip to contentSkip to conversation

ASoC: topology: Add support for compressed PCMs

PATCH In review Liam Girdwood 2 participants 2 messages Mar 14, 2018 – Apr 17, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: topology: Add support for compressed PCMs

Register a compressed PCM if topology defines one.

---
 sound/soc/soc-topology.c | 3 +++
 1 file changed, 3 insertions(+)
sound/soc/soc-topology.c +3 -0
index dd2b118a35b3..f941d37e825b 100644
@@ -1768,6 +1768,9 @@ static int soc_tplg_dai_create(struct soc_tplg *tplg,
 		set_stream_info(stream, caps);
 	}
 
+	if (pcm->compress)
+		dai_drv->compress_new = snd_soc_new_compress;
+
 	/* pass control to component driver for optional further init */
 	ret = soc_tplg_dai_load(tplg, dai_drv, pcm, NULL);
 	if (ret < 0) {
Signature · 1 line
2.14.1
maintainer
#1 lore raw

Applied "ASoC: topology: Add support for compressed PCMs" to the asoc tree

The patch

ASoC: topology: Add support for compressed PCMs

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 5db6aab6f36f7560dc95f7ca340d5632b7a3be6a Mon Sep 17 00:00:00 2001

From: Liam Girdwood <[email protected]>
Date: Tue, 27 Mar 2018 14:30:45 +0100
Subject: [PATCH] ASoC: topology: Add support for compressed PCMs

Register a compressed PCM if topology defines one.

---
 sound/soc/soc-topology.c | 3 +++
 1 file changed, 3 insertions(+)
sound/soc/soc-topology.c +3 -0
index b9370ae31907..b95a9ab0b526 100644
@@ -1772,6 +1772,9 @@ static int soc_tplg_dai_create(struct soc_tplg *tplg,
 		set_stream_info(stream, caps);
 	}
 
+	if (pcm->compress)
+		dai_drv->compress_new = snd_soc_new_compress;
+
 	/* pass control to component driver for optional further init */
 	ret = soc_tplg_dai_load(tplg, dai_drv, pcm, NULL);
 	if (ret < 0) {
Signature · 1 line
2.17.0