aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2015-08-19 05:20:14 +0000
committerTakashi Iwai <[email protected]>2015-08-19 12:57:51 +0000
commit9003ebb13f61e8c78a641e0dda7775183ada0625 (patch)
tree96b0d4793235149b47aad7a34dc853cc39e57d67 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentALSA: hda - Fix the white noise on Dell laptop (diff)
downloadkernel-9003ebb13f61e8c78a641e0dda7775183ada0625.tar.gz
kernel-9003ebb13f61e8c78a641e0dda7775183ada0625.zip
ALSA: usb-audio: Fix runtime PM unbalance
The fix for deadlock in PM in commit [1ee23fe07ee8: 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 <[email protected]> Fixes: 1ee23fe07ee8 ('ALSA: usb-audio: Fix deadlocks at resuming') Cc: <[email protected]> [v3.15+] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions