summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-09-10 21:24:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-10 21:24:23 +0000
commit4706e65796e87d115cc76813481163fe7cc19221 (patch)
tree9171d01cc912693b5c769a006fc698407c153a91
parent2314aa3bbcdb15101fec1f6e65f336feed0f127d (diff)
parente63e61d40e171b60b8345f2a47022d066aa589f2 (diff)
downloadandroid_hardware_qcom_audio-4706e65796e87d115cc76813481163fe7cc19221.tar.gz
android_hardware_qcom_audio-4706e65796e87d115cc76813481163fe7cc19221.tar.bz2
android_hardware_qcom_audio-4706e65796e87d115cc76813481163fe7cc19221.zip
am e63e61d4: hal msm8974: fix logic in platform_check_backends_match().
* commit 'e63e61d40e171b60b8345f2a47022d066aa589f2': hal msm8974: fix logic in platform_check_backends_match().
-rw-r--r--hal/msm8974/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 4e759735..81363fb4 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -1220,7 +1220,7 @@ bool platform_check_backends_match(snd_device_t snd_device1, snd_device_t snd_de
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;
}