diff options
| author | Shengjiu Wang <[email protected]> | 2019-10-28 17:11:05 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-10-28 13:13:37 +0000 |
| commit | 35dac627471938eda89fa39ee4ead1f7667e0f57 (patch) | |
| tree | c5639e0c56ad99ebca48d30cf829a3282c225958 /tools/perf/scripts/python | |
| parent | b39eb1e250c32c695a780f1814086f2bfa0fb593 (diff) | |
ASoC: fsl_esai: Add spin lock to protect reset, stop and start
xrun may happen at the end of stream, the
trigger->fsl_esai_trigger_stop maybe called in the middle of
fsl_esai_hw_reset, this may cause esai in wrong state
after stop, and there may be endless xrun interrupt.
This issue may also happen with trigger->fsl_esai_trigger_start.
So Add spin lock to lock those functions.
Fixes: 7ccafa2b3879 ("ASoC: fsl_esai: recover the channel swap after xrun")
Signed-off-by: Shengjiu Wang <[email protected]>
Acked-by: Nicolin Chen <[email protected]>
Link: https://lore.kernel.org/r/52e92c4221a83e39a84a6cd92fc3d5479b44894c.1572252321.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions