]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb48f8125475a56ffb54c3be4526230602fc99b50
tree62061a75efc486e54bec6bc1f8242757da5787e9
parent922de3c347736541772bb8489e64ce08a8a65507
parent901e6661b0818fbafe6e0a733a58365c5f243ebf
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