sound: rt5659: Fake msm8952-tomtom-snd-card model
Change-Id: I6ebd997e382457f15fed86b9014e65c12e10652c
This commit is contained in:
parent
8f3f7cc146
commit
ac1e4ac5d8
|
@ -1236,7 +1236,11 @@ struct snd_soc_card *populate_snd_card_dailinks(struct device *dev)
|
||||||
return NULL;
|
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);
|
len1 = ARRAY_SIZE(msm8952_common_fe_dai);
|
||||||
len2 = len1 + ARRAY_SIZE(msm8952_tomtom_fe_dai);
|
len2 = len1 + ARRAY_SIZE(msm8952_tomtom_fe_dai);
|
||||||
len3 = len2 + ARRAY_SIZE(msm8952_common_be_dai);
|
len3 = len2 + ARRAY_SIZE(msm8952_common_be_dai);
|
||||||
|
|
|
@ -3017,7 +3017,7 @@ static struct snd_soc_codec_conf msm8952_codec_conf[] = {
|
||||||
|
|
||||||
static struct snd_soc_card bear_card = {
|
static struct snd_soc_card bear_card = {
|
||||||
/* snd_soc_card_msm8952 */
|
/* snd_soc_card_msm8952 */
|
||||||
.name = "msm8952-rt5659-snd-card",
|
.name = "msm8952-tomtom-snd-card",
|
||||||
.dai_link = msm8952_dai,
|
.dai_link = msm8952_dai,
|
||||||
.num_links = ARRAY_SIZE(msm8952_dai),
|
.num_links = ARRAY_SIZE(msm8952_dai),
|
||||||
.controls = rt5659_controls,
|
.controls = rt5659_controls,
|
||||||
|
|
Loading…
Reference in New Issue