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)
commit757124d95c42bb579d67df51e51789849929ee31
tree3283d886ac3afb641909c4fde83b1de51da37ec2
parent020a0bbc0d89c15693e69ed2063584ef7ec2d811
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