ASoC: soc-compress: tidyup STREAM vs COMPRESS
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 30 Oct 2020 01:01:15 +0000 (10:01 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 14:25:59 +0000 (14:25 +0000)
commiteb84959ab8c0ca2897e69575110bdaaf2d532eb7
treeb706617a0c706bff7240169524098e68e1628b8b
parent354e592a506cf565dd5ece755150f50d52b69050
ASoC: soc-compress: tidyup STREAM vs COMPRESS

snd_soc_runtime_activate() and
snd_soc_dai_digital_mute() need SNDRV_PCM_STREAM_xxx
instead of SND_COMPRESS_xxx.

These are bug but nothing happen because these are same value.

enum {
SNDRV_PCM_STREAM_PLAYBACK = 0,
SNDRV_PCM_STREAM_CAPTURE,
...
};

enum snd_compr_direction {
SND_COMPRESS_PLAYBACK = 0,
SND_COMPRESS_CAPTURE
};

This patch tidyup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/874kmcmsyn.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c