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
This commit is contained in:
Walter Yang 2014-05-27 21:52:17 +08:00 committed by Gerrit - the friendly Code Review server
parent c78784216e
commit c899d5701e
1 changed files with 1 additions and 1 deletions

View File

@ -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));