Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e63e61d4 authored by Eric Laurent's avatar Eric Laurent
Browse files

hal msm8974: fix logic in platform_check_backends_match().

Fix logic error in if() condition in commit 9af4b91d
"hal: fix backend check routine for combo device"

BUG: 23916345
Change-Id: I587dd157ba34cad5f539d88e8161750f3e2b32c7
parent 9af4b91d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1211,7 +1211,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;
    }