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)
commitaeb6fa0f15c71a18f757d1686822b6c34cf81399
treeec6c65f4098dec33d46394b90e017f8999d91a60
parent7a0cf42edd9cc335572aa8614df0ebefa2f537be
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