am 9af4b91d: hal: fix backend check routine for combo device
* commit '9af4b91ddd17beb8e0db420874014a5662848159':
hal: fix backend check routine for combo device
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 6250675..4e75973 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -1220,7 +1220,7 @@
const char * be_itf2 = hw_interface_table[snd_device2];
if (NULL != be_itf1 && NULL != be_itf2) {
- if (0 != strcmp(be_itf1, be_itf2))
+ if ((NULL == strstr(be_itf2, be_itf1)) || (NULL == strstr(be_itf1, be_itf2)))
result = false;
}