hal: add support for msm8920 sku7
add entry for msm8920 sku7 soundcard. CRs-Fixed: 1035622 Change-Id: Ib2f88ec3a711fc1d8952230c95e775a692d10579
This commit is contained in:
parent
561d4ba535
commit
c30f0285d7
|
@ -297,8 +297,14 @@ 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, "msm8920-sku7-snd-card")) {
|
||||
strlcpy(hw_info->type, "", sizeof(hw_info->type));
|
||||
strlcpy(hw_info->name, "msm8920", 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 {
|
||||
ALOGW("%s: Not an 8x16/8909/8917/8937/8939/8940/8952/8953/falcon device", __func__);
|
||||
ALOGW("%s: Not an 8x16/8909/8917/8920/8937/8939/8940/8952/8953/falcon device", __func__);
|
||||
}
|
||||
|
||||
hw_info->is_wsa_combo_suppported = false;
|
||||
|
|
|
@ -1096,6 +1096,13 @@ static void query_platform(const char *snd_card_name,
|
|||
msm_device_to_be_id = msm_device_to_be_id_external_codec;
|
||||
msm_be_id_array_len =
|
||||
sizeof(msm_device_to_be_id_external_codec) / sizeof(msm_device_to_be_id_external_codec[0]);
|
||||
} else if (!strncmp(snd_card_name, "msm8920-sku7-snd-card",
|
||||
sizeof("msm8920-sku7-snd-card"))) {
|
||||
strlcpy(mixer_xml_path, MIXER_XML_PATH_SKU1,
|
||||
MAX_MIXER_XML_PATH);
|
||||
msm_device_to_be_id = msm_device_to_be_id_internal_codec;
|
||||
msm_be_id_array_len =
|
||||
sizeof(msm_device_to_be_id_internal_codec) / sizeof(msm_device_to_be_id_internal_codec[0]);
|
||||
} else {
|
||||
strlcpy(mixer_xml_path, MIXER_XML_PATH,
|
||||
sizeof(MIXER_XML_PATH));
|
||||
|
|
Loading…
Reference in New Issue