summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPardha Saradhi K <pardha.saradhi.kesapragada@intel.com>2017-05-15 19:44:29 +0530
committerMark Brown <broonie@kernel.org>2017-05-24 18:25:12 +0100
commit5cd1f5c32132101955d7f0e1955249a84f9b6fd9 (patch)
tree49661588fbe3b0e3b083b45bda00e654f21c6e5c /Documentation
parentab1b732d53c18f26f51cad49371be3244fe67504 (diff)
downloadlinux-5cd1f5c32132101955d7f0e1955249a84f9b6fd9.tar.bz2
ASoC: Intel: Skylake: Fix IPC rx_list corruption
In SKL+ platforms, all IPC commands are serialised, i.e. the driver sends a new IPC to DSP, only after receiving a reply from the firmware for the current IPC. Hence it seems apparent that there is only a single modifier of the IPC RX List. However, during an IPC timeout case in a multithreaded environment, there is a possibility of the list element being deleted two times if not properly protected. So, use spin lock save/restore to prevent rx_list corruption. Signed-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions