diff options
author | Eric Laurent <elaurent@google.com> | 2015-09-10 06:20:22 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-10 06:20:22 +0000 |
commit | 2314aa3bbcdb15101fec1f6e65f336feed0f127d (patch) | |
tree | 527996cb0b985fc328889497de3f3c5ed4d0ba71 | |
parent | 3f2b1fcadb2b40a8e6b306b4896fdc93487c9670 (diff) | |
parent | 9af4b91ddd17beb8e0db420874014a5662848159 (diff) | |
download | android_hardware_qcom_audio-2314aa3bbcdb15101fec1f6e65f336feed0f127d.tar.gz android_hardware_qcom_audio-2314aa3bbcdb15101fec1f6e65f336feed0f127d.tar.bz2 android_hardware_qcom_audio-2314aa3bbcdb15101fec1f6e65f336feed0f127d.zip |
am 9af4b91d: hal: fix backend check routine for combo device
* commit '9af4b91ddd17beb8e0db420874014a5662848159':
hal: fix backend check routine for combo device
-rw-r--r-- | hal/msm8974/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c index 6250675d..4e759735 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 (0 != strcmp(be_itf1, be_itf2)) + if ((NULL == strstr(be_itf2, be_itf1)) || (NULL == strstr(be_itf1, be_itf2))) result = false; } |