hal: update logic to identify primary sound card
Check if the sound card name contains the hw codec name
to validate the primary sound card name before initializing
the audio route library.
Bug: 21731989
Change-Id: I2a14201e8774c07a922c87d3fc08f55a389a56e6
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index acfa991..2f596ba 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -958,6 +958,13 @@
return -ENOSYS;
}
+int platform_set_parameters(void *platform __unused,
+ struct str_parms *parms __unused)
+{
+ ALOGE("%s: Not implemented", __func__);
+ return -ENOSYS;
+}
+
/* Delay in Us */
int64_t platform_render_latency(audio_usecase_t usecase)
{