mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ALSA: usb-audio: Fix runtime PM unbalance
commit9003ebb13fupstream. The fix for deadlock in PM in commit [1ee23fe07e: ALSA: usb-audio: Fix deadlocks at resuming] introduced a new check of in_pm flag. However, the brainless patch author evaluated it in a wrong way (logical AND instead of logical OR), thus usb_autopm_get_interface() is wrongly called at probing, leading to unbalance of runtime PM refcount. This patch fixes it by correcting the logic. Reported-by: Hans Yang <hansy@nvidia.com> Fixes:1ee23fe07e('ALSA: usb-audio: Fix deadlocks at resuming') Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
00ed6693ab
commit
1765697321
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue