hal: enable compilation of 8909 platform files
Enable compilation 8909 platform files
Change-Id: I0a14fdcd963d86d3145f3220bae69645091738e5
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index e8ae5b7..e3d2a85 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -1045,6 +1045,24 @@
return 0;
}
+bool platform_check_and_set_capture_backend_cfg(struct audio_device* adev __unused,
+ struct audio_usecase *usecase __unused,
+ snd_device_t snd_device)
+{
+ return false;
+}
+
+bool platform_add_gain_level_mapping(struct amp_db_and_gain_table *tbl_entry __unused)
+{
+ return false;
+}
+
+int platform_get_gain_level_mapping(struct amp_db_and_gain_table *mapping_tbl __unused,
+ int table_size __unused)
+{
+ return 0;
+}
+
void platform_add_backend_name(void *platform, char *mixer_path,
snd_device_t snd_device)
{
@@ -1533,8 +1551,6 @@
snd_device = SND_DEVICE_OUT_USB_HEADSET;
} else if (devices & AUDIO_DEVICE_OUT_EARPIECE) {
snd_device = SND_DEVICE_OUT_HANDSET;
- } else if (devices & AUDIO_DEVICE_OUT_PROXY) {
- snd_device = SND_DEVICE_OUT_AFE_PROXY;
} else {
ALOGE("%s: Unknown device(s) %#x", __func__, devices);
}