aboutsummaryrefslogtreecommitdiff
path: root/sound/virtio/virtio_pcm_msg.c
diff options
context:
space:
mode:
authorGravatar Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 2021-09-24 14:24:17 -0500
committerGravatar Takashi Iwai <tiwai@suse.de> 2021-09-28 10:22:51 +0200
commita20f3b10de61add5e14b6ce4df982f4df2a4cbbc (patch)
tree843533aa2da3d3fce4f0fd4b94c3b8dcb6e857eb /sound/virtio/virtio_pcm_msg.c
parentALSA: hda: hdac_ext_stream: fix potential locking issues (diff)
downloadlinux-a20f3b10de61add5e14b6ce4df982f4df2a4cbbc.tar.gz
linux-a20f3b10de61add5e14b6ce4df982f4df2a4cbbc.tar.bz2
linux-a20f3b10de61add5e14b6ce4df982f4df2a4cbbc.zip
ASoC: SOF: Intel: hda-dai: fix potential locking issue
The initial hdac_stream code was adapted a third time with the same locking issues. Move the spin_lock outside the loops and make sure the fields are protected on read/write. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210924192417.169243-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/virtio/virtio_pcm_msg.c')
0 files changed, 0 insertions, 0 deletions