ASoC: SOF: compress: Introduce sof_compr_stream
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 17 Aug 2022 08:05:27 +0000 (11:05 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 17 Aug 2022 12:00:22 +0000 (13:00 +0100)
commite3091f0a3f563ad1c9b60c290752e1190b67ea97
treeebb8bb42a5eeddfd528017cbc755a4957d09d13a
parentbab10ec9fd9dc1537b705d0dd3862dd5982b921f
ASoC: SOF: compress: Introduce sof_compr_stream

This will keep SOF compress stream private data. So far
we used snd_compr_tstamp to hold the private data but this
is no longer enough as we need to hold other info like
number of channels or sample bytes.

Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20220817080529.10864-3-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/compress.c
sound/soc/sof/sof-priv.h