]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Don't proceed in audio_fini in DCEv11 if disabled
authorTom St Denis <tom.stdenis@amd.com>
Wed, 2 Mar 2016 13:58:07 +0000 (08:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:51 +0000 (11:01 -0500)
commit802d3386e46df084c9cbdf18e0370d90faf19333
treea78c45bd19768b5b7ad53b09b9cd79ec4f546ad5
parent15aaa6a52c49ce4992e884296c7bac4e4f9f4c48
drm/amd/amdgpu: Don't proceed in audio_fini in DCEv11 if disabled

If amdgpu_audio is disabled then the audio structure is not initialized
so we shouldn't read it in the fini function.

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_v11_0.c