Fix build on msm8960 platform
Fix build breakage introduced by comit 765eb645.
Change-Id: Ifc0ae1027d01a315f3805b9b172ed86f5003adc9
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index c75efbe..c78d943 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -126,6 +126,8 @@
[SND_DEVICE_OUT_BT_SCO] = "bt-sco-headset",
[SND_DEVICE_OUT_BT_SCO_WB] = "bt-sco-headset-wb",
[SND_DEVICE_OUT_VOICE_HANDSET_TMUS] = "voice-handset-tmus",
+ [SND_DEVICE_OUT_VOICE_HANDSET] = "voice-handset-tmus",
+ [SND_DEVICE_OUT_VOICE_HAC_HANDSET] = "voice-handset-tmus",
[SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES] = "voice-tty-full-headphones",
[SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES] = "voice-tty-vco-headphones",
[SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET] = "voice-tty-hco-handset",
@@ -173,6 +175,8 @@
[SND_DEVICE_OUT_BT_SCO] = 22,
[SND_DEVICE_OUT_BT_SCO_WB] = 39,
[SND_DEVICE_OUT_VOICE_HANDSET_TMUS] = 81,
+ [SND_DEVICE_OUT_VOICE_HANDSET] = 81,
+ [SND_DEVICE_OUT_VOICE_HAC_HANDSET] = 81,
[SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES] = 17,
[SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES] = 17,
[SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET] = 37,
@@ -423,10 +427,10 @@
return -ENOSYS;
}
-void platform_add_operator_specific_device(snd_device_t snd_device,
- const char *operator,
- const char *mixer_path,
- unsigned int acdb_id)
+void platform_add_operator_specific_device(snd_device_t snd_device __unused,
+ const char *operator __unused,
+ const char *mixer_path __unused,
+ unsigned int acdb_id __unused)
{
}
@@ -548,7 +552,7 @@
}
void platform_set_speaker_gain_in_combo(struct audio_device *adev __unused,
- snd_device_t snd_device,
+ snd_device_t snd_device __unused,
bool enable __unused) {
}