diff options
| author | 2021-12-16 12:57:39 +0100 | |
|---|---|---|
| committer | 2021-12-17 16:20:36 +0000 | |
| commit | 2a9a72e290d4a4741e673f86b9fba9bfb319786d (patch) | |
| tree | a5a929ba4c35233abd291267b5d22ff21c185ad8 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: Changes to SOF kcontrol data set/get ops (diff) | |
| download | linux-dev-2a9a72e290d4a4741e673f86b9fba9bfb319786d.tar.xz linux-dev-2a9a72e290d4a4741e673f86b9fba9bfb319786d.zip | |
ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
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: 4fac9b31d0b9 ("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>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
