diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2022-08-17 10:05:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-17 14:00:21 +0200 |
commit | bab10ec9fd9dc1537b705d0dd3862dd5982b921f (patch) | |
tree | 0777d37a1defcb11406bdec2cced2b97e4219042 /sound/soc | |
parent | ASoC: Intel: HSW and BDW updates (diff) | |
download | linux-bab10ec9fd9dc1537b705d0dd3862dd5982b921f.tar.xz linux-bab10ec9fd9dc1537b705d0dd3862dd5982b921f.zip |
ASoC: SOF: compress: Remove byte offset computation
Byte offset is the offset in the ring buffer to the DSP
while posn_offset is an offset inside the stream_box where
we keep position information.
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-2-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/sof/compress.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sof/compress.c b/sound/soc/sof/compress.c index 67139e15f862..760d6a4a5253 100644 --- a/sound/soc/sof/compress.c +++ b/sound/soc/sof/compress.c @@ -237,7 +237,6 @@ static int sof_compr_set_params(struct snd_soc_component *component, goto out; } - tstamp->byte_offset = sdev->stream_box.offset + ipc_params_reply.posn_offset; tstamp->sampling_rate = params->codec.sample_rate; spcm->prepared[cstream->direction] = true; |