hal: msm8939: use mixer paths mtp xml for 8939 mtp
The mtp 8939 hardware has a bug due to which the primary
mic is the top mic.
The change chooses the right mixer paths which takes care
of swapping the mics which uses the bottom mic for
primary mic.
Change-Id: I370268e98178acc8a41bc733d2df83def227c1fc
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index a582fa8..2016612 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -426,8 +426,8 @@
sizeof(MIXER_XML_PATH_QRD_SKUHF));
} 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));
+ strlcpy(mixer_xml_path, MIXER_XML_PATH_MTP,
+ sizeof(MIXER_XML_PATH_MTP));
} else if (!strncmp(snd_card_name, "msm8939-snd-card-skuk",
sizeof("msm8939-snd-card-skuk"))) {
strlcpy(mixer_xml_path, MIXER_XML_PATH_SKUK,