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>
|
||
|---|---|---|
| .. | ||
| Documentation | ||
| tools | ||
| arche_platform.h | ||
| arche-apb-ctrl.c | ||
| arche-platform.c | ||
| audio_apbridgea.c | ||
| audio_apbridgea.h | ||
| audio_codec.c | ||
| audio_codec.h | ||
| audio_gb.c | ||
| audio_helper.c | ||
| audio_helper.h | ||
| audio_manager_module.c | ||
| audio_manager_private.h | ||
| audio_manager_sysfs.c | ||
| audio_manager.c | ||
| audio_manager.h | ||
| audio_module.c | ||
| audio_topology.c | ||
| authentication.c | ||
| bootrom.c | ||
| camera.c | ||
| firmware.h | ||
| fw-core.c | ||
| fw-download.c | ||
| fw-management.c | ||
| gb-camera.h | ||
| gbphy.c | ||
| gbphy.h | ||
| gpio.c | ||
| greybus_authentication.h | ||
| greybus_firmware.h | ||
| hid.c | ||
| i2c.c | ||
| Kconfig | ||
| light.c | ||
| log.c | ||
| loopback.c | ||
| Makefile | ||
| power_supply.c | ||
| pwm.c | ||
| raw.c | ||
| sdio.c | ||
| spi.c | ||
| spilib.c | ||
| spilib.h | ||
| TODO | ||
| uart.c | ||
| usb.c | ||
| vibrator.c | ||