hal: Add provision to select backend based on codec type
SLIMBUS_0 is the backend on 8952 external codec PLs.
Whereas TERT_MI2S is the backend on 8952 internal codec PLs.
Since both these PLs are supported on same code base,
provision is required to select backend based on codec type.
Change-Id: I9c0dd7d952ab9d6b9bf738074d97597622e09590
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index bbfa042..f9b7851 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -1155,7 +1155,8 @@
}
int platform_set_audio_device_interface(const char * device_name __unused,
- const char *intf_name __unused)
+ const char *intf_name __unused,
+ const char *codec_type __unused)
{
return -ENOSYS;
}