]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: Fix compressed stream position tracking
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 16 Jun 2022 20:19:53 +0000 (15:19 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:49 +0000 (16:21 +0100)
commitd76459c70583346f9d3af4995b5d83a709f75e74
tree42cb3333e97b67a5142d5385a14a11f7995afa4c
parentb57e09635281ca0c0fd4ef46847edabfbb82e662
ASoC: SOF: Intel: hda: Fix compressed stream position tracking

Commit f27850a417a9 ("ASoC: SOF: Intel: hda: add quirks for HDAudio DMA position information")
modified the PCM path only, but left the compressed data patch using an
obsolete option.
Move the functionality in a helper that can be called for both PCM and
compressed data.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Fixes: f27850a417a9 ("ASoC: SOF: Intel: hda: add quirks for HDAudio DMA position information")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220616201953.130876-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-pcm.c
sound/soc/sof/intel/hda-stream.c
sound/soc/sof/intel/hda.h