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

Commit c899d570 authored by Walter Yang's avatar Walter Yang Committed by Gerrit - the friendly Code Review server
Browse files

hal: Add the missing 'else' for mixer_paths filename selection

Fix the minor issue in function of query_platform. The 'else' is
missing, which causes that the mixer_paths file name of all the
8916 boards will be overwritten by the default one.

Change-Id: If105e38537f5d4d5d3f52dfc64ac62f11e829bbf
CRs-Fixed: 668629
parent c7878421
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -417,7 +417,7 @@ static void query_platform(const char *snd_card_name,
                 sizeof("msm8x16-skui-snd-card"))) {
        strlcpy(mixer_xml_path, MIXER_XML_PATH_QRD_SKUI,
                sizeof(MIXER_XML_PATH_QRD_SKUI));
    } if (!strncmp(snd_card_name, "msm8939-snd-card-mtp",
    } else if (!strncmp(snd_card_name, "msm8939-snd-card-mtp",
                 sizeof("msm8939-snd-card-mtp"))) {
        strlcpy(mixer_xml_path, MIXER_XML_PATH,
                sizeof(MIXER_XML_PATH));