mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
ASoC: topology: Add support for compressed PCMs
Register a compressed PCM if topology defines one. Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user