diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-11 18:36:42 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-11 18:37:06 +0100 |
commit | 0c4f09ceec3d7afbef6ad4077d96e36e0fad4028 (patch) | |
tree | 56cbb236120a749c6533cb735f4caa3a7852bb69 /tools/pci/pcitest.sh | |
parent | ALSA: memalloc: Drop snd_dma_pci_data() macro (diff) | |
download | linux-0c4f09ceec3d7afbef6ad4077d96e36e0fad4028.tar.xz linux-0c4f09ceec3d7afbef6ad4077d96e36e0fad4028.zip |
ALSA: timer: Fix the breakage of slave link open
A silly mistake was made while applying the fix for potential races in
commit 6a34367e52ca ("ALSA: timer: Fix possible race at assigning a
timer instance"): when a slave PCM is opened and succeeds, it doesn't
return but proceeds to the master timer open code instead. Plug the
hole and beautify a bit.
Fixes: 6a34367e52ca ("ALSA: timer: Fix possible race at assigning a timer instance")
Reported-by: syzbot+4476917c053f60112c99@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20191111173642.6093-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/pci/pcitest.sh')
0 files changed, 0 insertions, 0 deletions