]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix crash in acp_hw_fini
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Nov 2016 21:47:51 +0000 (17:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Nov 2016 17:40:52 +0000 (12:40 -0500)
commita91eb3569d5234f3fc194044ef75e1ca63e3d6fc
tree3283d886ac3afb641909c4fde83b1de51da37ec2
parent44bd60dd32d69752cc5332a5b0967f74651e4a5a
drm/amdgpu: fix crash in acp_hw_fini

On CZ/ST systems with AZ rather than ACP audio, we need to bail
early in hw_fini since there is nothing to do.

bug: https://bugs.freedesktop.org/show_bug.cgi?id=98276

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c