hal: Add 8916 qrd skuh sound card detection
- Remove 8916 skuaa/skuab sound card detection which is obsolete
derived from 8x10 platform
- Add 8916 qrd skuh sound card detection
Change-Id: I5b60aa8ec8bebc8ae0d5306db2ae747492f380a7
diff --git a/hal/msm8916/hw_info.c b/hal/msm8916/hw_info.c
index d002a3f..7b955ba 100644
--- a/hal/msm8916/hw_info.c
+++ b/hal/msm8916/hw_info.c
@@ -131,14 +131,8 @@
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-skuab-snd-card")) {
- strlcpy(hw_info->type, "skuab", sizeof(hw_info->type));
- strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name));
- hw_info->snd_devices = (snd_device_t *)helicon_skuab_variant_devices;
- hw_info->num_snd_devices = ARRAY_SIZE(helicon_skuab_variant_devices);
- strlcpy(hw_info->dev_extn, "-skuab", sizeof(hw_info->dev_extn));
- } else if (!strcmp(snd_card_name, "msm8x16-skuaa-snd-card")) {
- strlcpy(hw_info->type, " skuaa", sizeof(hw_info->type));
+ } else if (!strcmp(snd_card_name, "msm8x16-skuh-snd-card")) {
+ strlcpy(hw_info->type, "skuh", sizeof(hw_info->type));
strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name));
hw_info->snd_devices = NULL;
hw_info->num_snd_devices = 0;