Skip to content
Commit 56c3b723 authored by Cezary Rojewski's avatar Cezary Rojewski Committed by Greg Kroah-Hartman
Browse files

ASoC: Intel: catpt: Test dmaengine_submit() result before moving on



[ Upstream commit 2a9a72e2 ]

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: default avatarKevin Tian <kevin.tian@intel.com>
Suggested-by: default avatarDave Jiang <dave.jiang@intel.com>
Fixes: 4fac9b31 ("ASoC: Intel: Add catpt base members")
Signed-off-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20211216115743.2130622-2-cezary.rojewski@intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9bc6d3ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment