UPSTREAM: 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

BUG=b:62103837
TEST=
rmmod snd_soc_rt5645 snd_soc_rl6231 designware_i2s snd_soc_core
cd /lib/modules/4.4.64/kernel/sound/soc/
modprobe snd_soc_core
insmod amd/snd-soc-acp-pcm.ko
insmod dwc/designware_i2s.ko
insmod codecs/snd-soc-rl6231.ko
insmod codecs/snd-soc-rt5645.ko
insmod amd/snd-soc-acp-rt5645.ko
apply mixer setttngs
aplay -D hw:1,0 <file>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
(cherry picked from commit 757124d95c42bb579d67df51e51789849929ee31)

Change-Id: I1a91f755d60047a8e9f7529820a45d3888da2756
Reviewed-on: https://chromium-review.googlesource.com/603572
Commit-Ready: Akshu Agrawal <akshu.agrawal@amd.com>
Tested-by: Akshu Agrawal <akshu.agrawal@amd.com>
Reviewed-by: Jason Clinton <jclinton@chromium.org>
1 file changed