]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: firewire-tascam: Add missing annotation for tscm_hwdep_read_queue()
authorJules Irenge <jbi.octave@gmail.com>
Wed, 11 Mar 2020 01:09:07 +0000 (01:09 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Mar 2020 06:55:18 +0000 (07:55 +0100)
commit34aa7994ad15af31f2a7c1146d03b1f8d08af3cc
tree5f8f68f117ced46a96f86131ca4f05098586eca2
parent3bbf9e2f8624432d1f436bf13ddce1cf9db5238d
ALSA: firewire-tascam: Add missing annotation for tscm_hwdep_read_queue()

Sparse reports a warning at tscm_hwdep_read_queue()

warning: context imbalance in tscm_hwdep_read_queue() - unexpected unlock

The root cause is the missing annotation at tscm_hwdep_read_queue()
Add the missing __releases(&tscm->lock) annotation

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20200311010908.42366-8-jbi.octave@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam-hwdep.c