summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-28 13:23:50 +0200
committerMark Brown <broonie@kernel.org>2021-07-30 17:20:49 +0100
commit2e6b836312a477d647a7920b56810a5a25f6c856 (patch)
tree0301f96b71f25d4c22b73aa409441c6fc896bed7 /.gitignore
parent926ef1a4c245c093acc07807e466ad2ef0ff6ccb (diff)
ASoC: intel: atom: Fix reference to PCM buffer address
PCM buffers might be allocated dynamically when the buffer preallocation failed or a larger buffer is requested, and it's not guaranteed that substream->dma_buffer points to the actually used buffer. The address should be retrieved from runtime->dma_addr, instead of substream->dma_buffer (and shouldn't use virt_to_phys). Also, remove the line overriding runtime->dma_area superfluously, which was already set up at the PCM buffer allocation. Cc: Cezary Rojewski <cezary.rojewski@intel.com> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20210728112353.6675-3-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions