android_kernel_xiaomi_sm8450/sound/soc/intel/catpt
Cezary Rojewski 57bc898575 ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
[ Upstream commit 2a9a72e290d4a4741e673f86b9fba9bfb319786d ]

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 10:54:08 +01:00
..
core.h ASoC: Intel: catpt: Simple sysfs attributes 2020-10-02 15:32:34 +01:00
device.c ASoC: Intel: catpt: Fix compilation when CONFIG_MODULES is disabled 2020-10-08 21:16:48 +01:00
dsp.c ASoC: Intel: catpt: Test dmaengine_submit() result before moving on 2022-01-27 10:54:08 +01:00
ipc.c ASoC: Intel: catpt: Event tracing 2020-10-02 15:32:33 +01:00
loader.c ASoC: Intel: catpt: PCM operations 2020-10-02 15:32:32 +01:00
Makefile ASoC: Intel: Select catpt and deprecate haswell 2020-10-02 15:32:39 +01:00
messages.c ASoC: Intel: catpt: Add IPC message handlers 2020-10-02 15:32:29 +01:00
messages.h ASoC: Intel: catpt: Implement IPC protocol 2020-10-02 15:32:28 +01:00
pcm.c Merge Intel catpt DSP fixes into asoc-5.10 2020-11-16 23:29:07 +00:00
registers.h ASoC: Intel: catpt: Implement IPC protocol 2020-10-02 15:32:28 +01:00
sysfs.c ASoC: Intel: catpt: Simple sysfs attributes 2020-10-02 15:32:34 +01:00
trace.h ASoC: Intel: catpt: Event tracing 2020-10-02 15:32:33 +01:00