diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2016-02-01 14:44:44 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:48:24 +0800 |
commit | 98ba60a1730b499d5c5e8dde0a3f30f32337f973 (patch) | |
tree | 57383707e9a58fd5e4bf2a27225e48f258da5b17 /sound/soc/fsl/fsl_asrc.h | |
parent | 54c70617c7c441c12d815cc28006bce52e6accb7 (diff) |
MLK-12372: ASoC: fsl_asrc: fix dma task timeout after suspend/resume
commit 743cead0f8c4ac6311ffb500efd6146c40124310 is not a complete fix.
There is low possibility that this issue still occur.
Last commit add init_completion() in the suspend function, but if the
dma callback function is called after convert error, the complete is
done, the init_completion will not be called, so the complete state is
not correct in the next conversion.
This patch is to move init_completion to the beginning of conversion
to fix the issue.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.h')
0 files changed, 0 insertions, 0 deletions