Loading hal/msm8916/hw_info.c +6 −0 Original line number Diff line number Diff line Loading @@ -149,6 +149,12 @@ static void update_hardware_info_8x16(struct hardware_info *hw_info, const char hw_info->snd_devices = NULL; hw_info->num_snd_devices = 0; strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); } else if (!strcmp(snd_card_name, "msm8x16-skuhf-snd-card")) { strlcpy(hw_info->type, "skuhf", sizeof(hw_info->type)); strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); hw_info->snd_devices = NULL; hw_info->num_snd_devices = 0; strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); } else if (!strcmp(snd_card_name, "msm8939-snd-card")) { strlcpy(hw_info->type, "", sizeof(hw_info->type)); strlcpy(hw_info->name, "msm8939", sizeof(hw_info->name)); Loading hal/msm8916/platform.c +5 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ #define MIXER_XML_PATH_MTP "/system/etc/mixer_paths_mtp.xml" #define MIXER_XML_PATH_QRD_SKUH "/system/etc/mixer_paths_qrd_skuh.xml" #define MIXER_XML_PATH_QRD_SKUI "/system/etc/mixer_paths_qrd_skui.xml" #define MIXER_XML_PATH_QRD_SKUHF "/system/etc/mixer_paths_qrd_skuhf.xml" #define MIXER_XML_PATH_SKUK "/system/etc/mixer_paths_skuk.xml" #define MIXER_XML_PATH_AUXPCM "/system/etc/mixer_paths_auxpcm.xml" #define MIXER_XML_PATH_AUXPCM "/system/etc/mixer_paths_auxpcm.xml" Loading Loading @@ -419,6 +420,10 @@ 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)); } else if (!strncmp(snd_card_name, "msm8x16-skuhf-snd-card", sizeof("msm8x16-skuhf-snd-card"))) { strlcpy(mixer_xml_path, MIXER_XML_PATH_QRD_SKUHF, 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, Loading Loading
hal/msm8916/hw_info.c +6 −0 Original line number Diff line number Diff line Loading @@ -149,6 +149,12 @@ static void update_hardware_info_8x16(struct hardware_info *hw_info, const char hw_info->snd_devices = NULL; hw_info->num_snd_devices = 0; strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); } else if (!strcmp(snd_card_name, "msm8x16-skuhf-snd-card")) { strlcpy(hw_info->type, "skuhf", sizeof(hw_info->type)); strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); hw_info->snd_devices = NULL; hw_info->num_snd_devices = 0; strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); } else if (!strcmp(snd_card_name, "msm8939-snd-card")) { strlcpy(hw_info->type, "", sizeof(hw_info->type)); strlcpy(hw_info->name, "msm8939", sizeof(hw_info->name)); Loading
hal/msm8916/platform.c +5 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ #define MIXER_XML_PATH_MTP "/system/etc/mixer_paths_mtp.xml" #define MIXER_XML_PATH_QRD_SKUH "/system/etc/mixer_paths_qrd_skuh.xml" #define MIXER_XML_PATH_QRD_SKUI "/system/etc/mixer_paths_qrd_skui.xml" #define MIXER_XML_PATH_QRD_SKUHF "/system/etc/mixer_paths_qrd_skuhf.xml" #define MIXER_XML_PATH_SKUK "/system/etc/mixer_paths_skuk.xml" #define MIXER_XML_PATH_AUXPCM "/system/etc/mixer_paths_auxpcm.xml" #define MIXER_XML_PATH_AUXPCM "/system/etc/mixer_paths_auxpcm.xml" Loading Loading @@ -419,6 +420,10 @@ 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)); } else if (!strncmp(snd_card_name, "msm8x16-skuhf-snd-card", sizeof("msm8x16-skuhf-snd-card"))) { strlcpy(mixer_xml_path, MIXER_XML_PATH_QRD_SKUHF, 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, Loading