18 Jul
2023
18 Jul
'23
8 p.m.
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@kernel.org Cc: Alex Elder elder@kernel.org Cc: Greg Kroah-Hartman gregkh@linuxfoundation.org Cc: greybus-dev@lists.linaro.org Signed-off-by: Takashi Iwai tiwai@suse.de
drivers/staging/greybus/audio_helper.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-)
Acked-by: Greg Kroah-Hartman gregkh@linuxfoundation.org