ALSA: control: Fix leftover snd_power_unref()
PATCH 1/1 ALSA: control: Fix leftover snd_power_unref()
One snd_power_unref() was forgotten and left at __snd_ctl_elem_info() in the previous change for reorganizing the locking order.
Fixes fcc62b19104a ("ALSA: control: Take power_ref lock primarily")
Signed-off-by Takashi Iwai <[email protected]>
--- sound/core/control.c | 1 - 1 file changed, 1 deletion(-)
sound/core/control.c +0 -1
@@ -1168,7 +1168,6 @@ static int __snd_ctl_elem_info(struct snd_card *card, info->access =0 ;#endif result = kctl->info (kctl, info); -snd_power_unref (card);if (result >=0 ) {snd_BUG_ON (info->access); index_offset =snd_ctl_get_ioff (kctl, &info->id);
Signature · 1 line
2.43.0