linux/sound/soc/intel
Takashi Iwai 2e6b836312
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>
2021-07-30 17:20:49 +01:00
..
atom ASoC: intel: atom: Fix reference to PCM buffer address 2021-07-30 17:20:49 +01:00
boards ASoC: Intel: sof_da7219_mx98360a: fail to initialize soundcard 2021-07-26 18:57:12 +01:00
catpt ASoC: Intel: catpt: remove unneeded semicolon 2021-02-03 16:23:09 +00:00
common ASoC: Intel: soc-acpi: add ull suffix for SoundWire _ADR values 2021-06-22 12:47:08 +01:00
keembay Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
skylake ASoC: Intel: Skylake: use DEVICE_ATTR_RO macro 2021-06-02 12:03:33 +01:00
Kconfig ASoC: Intel: KMB: Enable DMA transfer mode 2021-01-08 18:23:41 +00:00
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-03-10 13:07:21 +00:00