projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
849dc32
)
drm/amd/amdgpu: Don't proceed into audio_fini if audio is disabled (DCEv8)
author
Tom St Denis
<tom.stdenis@amd.com>
Thu, 3 Mar 2016 14:31:49 +0000
(09:31 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:55 +0000
(11:01 -0500)
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
index b059853d93bfd1ffdc4d494167a2cc796a049208..ab536d3ed965597e9fa998eb32cbeba4aa2a7659 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
@@
-1639,6
+1639,9
@@
static void dce_v8_0_audio_fini(struct amdgpu_device *adev)
{
int i;
+ if (!amdgpu_audio)
+ return;
+
if (!adev->mode_info.audio.enabled)
return;