On Tue, Jul 18, 2023 at 04:12:55PM +0200, Takashi Iwai wrote: > Use the standard snd_ctl_remove_id() helper function instead of open > code. This allows us to reduce the manual card->rwsem lock in the > caller side. > > Cc: Johan Hovold <johan@xxxxxxxxxx> > Cc: Alex Elder <elder@xxxxxxxxxx> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: greybus-dev@xxxxxxxxxxxxxxxx > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> > --- > drivers/staging/greybus/audio_helper.c | 20 ++++---------------- > 1 file changed, 4 insertions(+), 16 deletions(-) Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> _______________________________________________ greybus-dev mailing list -- greybus-dev@xxxxxxxxxxxxxxxx To unsubscribe send an email to greybus-dev-leave@xxxxxxxxxxxxxxxx