WSL2-Linux-Kernel/sound/soc/intel
Cezary Rojewski 56c3b72385 ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
[ Upstream commit 2a9a72e290 ]

After calling dmaengine_submit(), the submitted transfer descriptor
belongs to the DMA engine. Pointer to that descriptor may no longer be
valid after the call and should be tested before awaiting transfer
completion.

Reported-by: Kevin Tian <kevin.tian@intel.com>
Suggested-by: Dave Jiang <dave.jiang@intel.com>
Fixes: 4fac9b31d0 ("ASoC: Intel: Add catpt base members")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20211216115743.2130622-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:04:14 +01:00
..
atom ASoC: Updates for v5.15 2021-08-30 14:57:03 +02:00
boards ASoC: Intel: sof_sdw: fix jack detection on HP Spectre x360 convertible 2022-01-27 11:04:04 +01:00
catpt ASoC: Intel: catpt: Test dmaengine_submit() result before moving on 2022-01-27 11:04:14 +01:00
common ASoC: Intel: soc-acpi: add missing quirk for TGL SDCA single amp 2021-11-25 09:48:27 +01:00
keembay Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
skylake ALSA: hda: Make proper use of timecounter 2022-01-27 11:04:07 +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