]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: compress: Set reasonable compress id string
authorPeng Donglin <dolinux.peng@gmail.com>
Wed, 16 Aug 2017 14:47:53 +0000 (22:47 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Aug 2017 14:52:58 +0000 (15:52 +0100)
commit23c4263a28be5510e29712331b5f3b0af16351a7
treeec6c65f4098dec33d46394b90e017f8999d91a60
parent2943c5b48808fb453139c10d183e90b89e59371b
ASoC: compress: Set reasonable compress id string

For dynamic compress rtd, the codec_dai may not have any actual
meaning(like snd-soc-dummy-dai), so compress id can just use the
value of dai_link->stream_name. But for others, its codec_dai
has actual meaning, so compress id can include codec_dai name.

Signed-off-by: Peng Donglin <dolinux.peng@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c