diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-11-16 10:20:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-17 16:08:38 +0300 |
commit | ffcf7ae90f4489047d7b076539ba207024dea5f6 (patch) | |
tree | 5a85381c7313e7507389fe5361a790f20def3f90 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 47ac6f567c28581f7729bd1f168639f8f066a2eb (diff) | |
download | linux-ffcf7ae90f4489047d7b076539ba207024dea5f6.tar.xz |
staging: greybus: Add missing rwsem around snd_ctl_remove() calls
snd_ctl_remove() has to be called with card->controls_rwsem held (when
called after the card instantiation). This patch adds the missing
rwsem calls around it.
Fixes: 510e340efe0c ("staging: greybus: audio: Add helper APIs for dynamic audio modules")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20211116072027.18466-1-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions