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

Commit 5015d3a3 authored by Garmond Leung's avatar Garmond Leung
Browse files

hal: add check for new naming convention of sound card

Add entry for new prefix of sound card.

CRs-Fixed: 2239140

Change-Id: I8102b840770a5c7a143619b5fd890d646bf5405e
parent e3a47162
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -213,6 +213,7 @@ static int enum_sndcards()
        if ((strncasecmp(card_id, "msm", 3) != 0) &&
            (strncasecmp(card_id, "sdm", 3) != 0) &&
            (strncasecmp(card_id, "sdc", 3) != 0) &&
            (strncasecmp(card_id, "sm", 2) != 0) &&
            (strncasecmp(card_id, "apq", 3) != 0)) {
            ALOGW("Skip over non-ADSP snd card %s", card_id);
            continue;