hal: msm8916: update is_stereo_spkr for sdm660

Set is_stereo_spkr to false for sdm660 soundcards with
single speaker. Also remove invalid soundcards.

CRs-Fixed: 2001136
Change-Id: Ib90a3d01975ef51804af3e384cf02ccbabefcbed
This commit is contained in:
Rohit Kumar 2017-02-15 11:17:11 +05:30
parent 36d4b0fe32
commit 073ee5adf5
1 changed files with 1 additions and 4 deletions

View File

@ -154,13 +154,10 @@ static void update_hardware_info_8x16(struct hardware_info *hw_info, const char
strlcpy(hw_info->name, "sdm660", sizeof(hw_info->name));
} else if (!strcmp(snd_card_name, "sdm660-snd-card-mtp")) {
strlcpy(hw_info->name, "sdm660", sizeof(hw_info->name));
} else if (!strcmp(snd_card_name, "sdm660-tasha-snd-card")) {
strlcpy(hw_info->name, "sdm660", sizeof(hw_info->name));
} else if (!strcmp(snd_card_name, "sdm660-tavil-snd-card")) {
strlcpy(hw_info->name, "sdm660", sizeof(hw_info->name));
} else if (!strcmp(snd_card_name, "sdm660-tashalite-snd-card")) {
strlcpy(hw_info->name, "sdm660", sizeof(hw_info->name));
} else if (!strcmp(snd_card_name, "sdm660-tasha-skus-snd-card")) {
hw_info->is_stereo_spkr = false;
strlcpy(hw_info->name, "sdm660", sizeof(hw_info->name));
} else if (!strcmp(snd_card_name, "msm8920-sku7-snd-card")) {
strlcpy(hw_info->name, "msm8920", sizeof(hw_info->name));