am e63e61d4: hal msm8974: fix logic in platform_check_backends_match().
* commit 'e63e61d40e171b60b8345f2a47022d066aa589f2':
hal msm8974: fix logic in platform_check_backends_match().
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 4e75973..81363fb 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 ((NULL == strstr(be_itf2, be_itf1)) || (NULL == strstr(be_itf1, be_itf2)))
+ if ((NULL == strstr(be_itf2, be_itf1)) && (NULL == strstr(be_itf1, be_itf2)))
result = false;
}