audio: Porting Cirrus's speaker update
Update the new version for the control of cirrus's dsp build#314.
Bug: 77232750
Test: manual audio tests on B1
Change-Id: I5b61055472de0b77ba5c1d788c639c06d104d63e
Signed-off-by: juyuchen <juyuchen@google.com>
Signed-off-by: Carter Hsu <carterhsu@google.com>
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 74c49c6..4b7b2ab 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -662,6 +662,7 @@
if ((snd_device == SND_DEVICE_OUT_SPEAKER ||
snd_device == SND_DEVICE_OUT_SPEAKER_SAFE ||
+ snd_device == SND_DEVICE_OUT_SPEAKER_REVERSE ||
snd_device == SND_DEVICE_OUT_VOICE_SPEAKER) &&
audio_extn_spkr_prot_is_enabled()) {
if (platform_get_snd_device_acdb_id(snd_device) < 0) {