Merge series "ASoC: soc-compress: tidyup STREAM vs COMPRESS" from Kuninori Morimoto...
authorMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 15:57:37 +0000 (15:57 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 15:57:37 +0000 (15:57 +0000)
commit068904bdb562cf4f426f85f90d0e191dea0d33b7
tree62061a75efc486e54bec6bc1f8242757da5787e9
parent9352d45a6e4588b8c7ddded871e08d89e0e6b79f
parent7428d8c8bd7936840b4615df674cee5fce1eb385
Merge series "ASoC: soc-compress: tidyup STREAM vs COMPRESS" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

Hi Mark

These are v2 of tidyup patch-set for SNDRV_PCM_STREAM_xxx and SND_COMPRESS_xxx.
soc-compress is using both SNDRV_PCM_STREAM_xxx and SND_COMPRESS_xxx, but mixed use.
This is confusable, but no problem. Because these are defined as UAPI and
are using same value.
This patch-set make sure these are same value.

v1 -> v2
- checks COMPRESS vs PCM_STREAM by using BUILD_BUG_ON()

Link: https://lore.kernel.org/r/87wnzcfnkk.wl-kuninori.morimoto.gx@renesas.com
Kuninori Morimoto (2):
  ASoC: soc-compress: tidyup STREAM vs COMPRESS
  ASoC: soc-compress: assume SNDRV_PCM_STREAM_xxx and SND_COMPRESS_xxx are same

 sound/soc/soc-compress.c | 63 +++++++++++++++-------------------------
 1 file changed, 23 insertions(+), 40 deletions(-)

--
2.25.1