ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
authorJia Zhou <zhou.jia2@zte.com.cn>
Tue, 30 Mar 2021 11:19:23 +0000 (13:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Mar 2021 11:50:15 +0000 (13:50 +0200)
commitabc21649b3e5c34b143bf86f0c78e33d5815e250
tree8a4cd536ebe8d0f62b807dec7d6c51a27f07e77a
parent583770e84a44c4e4ea206546ea07cc534fcd6d58
ALSA: core: remove redundant spin_lock pair in snd_card_disconnect

modification in commit 2a3f7221acdd ("ALSA: core: Fix card races between
register and disconnect") resulting in this problem.

Fixes: 2a3f7221acdd ("ALSA: core: Fix card races between register and disconnect")
Signed-off-by: Jia Zhou <zhou.jia2@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Link: https://lore.kernel.org/r/1616989007-34429-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c