sound: rt5659: Fake msm8952-tomtom-snd-card model

Change-Id: I6ebd997e382457f15fed86b9014e65c12e10652c
This commit is contained in:
Luca Stefani 2017-04-18 10:35:11 +02:00
parent 8f3f7cc146
commit ac1e4ac5d8
2 changed files with 6 additions and 2 deletions

View File

@ -1236,7 +1236,11 @@ struct snd_soc_card *populate_snd_card_dailinks(struct device *dev)
return NULL;
}
if (!strcmp(card->name, "msm8952-tomtom-snd-card")) {
if (!strcmp(card->name, "msm8952-tomtom-snd-card")
#if defined(CONFIG_PROJECT_GTS28VE) || defined(CONFIG_PROJECT_GTS210VE)
&& false
#endif
) {
len1 = ARRAY_SIZE(msm8952_common_fe_dai);
len2 = len1 + ARRAY_SIZE(msm8952_tomtom_fe_dai);
len3 = len2 + ARRAY_SIZE(msm8952_common_be_dai);

View File

@ -3017,7 +3017,7 @@ static struct snd_soc_codec_conf msm8952_codec_conf[] = {
static struct snd_soc_card bear_card = {
/* snd_soc_card_msm8952 */
.name = "msm8952-rt5659-snd-card",
.name = "msm8952-tomtom-snd-card",
.dai_link = msm8952_dai,
.num_links = ARRAY_SIZE(msm8952_dai),
.controls = rt5659_controls,