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:
parent
c78784216e
commit
c899d5701e
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue