|
@@ -1269,6 +1269,8 @@ static int snd_fm801_create(struct snd_card *card,
|
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
}
|
|
}
|
|
|
} else if ((tea575x_tuner & TUNER_TYPE_MASK) == 0) {
|
|
} else if ((tea575x_tuner & TUNER_TYPE_MASK) == 0) {
|
|
|
|
|
+ unsigned int tuner_only = tea575x_tuner & TUNER_ONLY;
|
|
|
|
|
+
|
|
|
/* autodetect tuner connection */
|
|
/* autodetect tuner connection */
|
|
|
for (tea575x_tuner = 1; tea575x_tuner <= 3; tea575x_tuner++) {
|
|
for (tea575x_tuner = 1; tea575x_tuner <= 3; tea575x_tuner++) {
|
|
|
chip->tea575x_tuner = tea575x_tuner;
|
|
chip->tea575x_tuner = tea575x_tuner;
|
|
@@ -1283,6 +1285,8 @@ static int snd_fm801_create(struct snd_card *card,
|
|
|
dev_err(card->dev, "TEA575x radio not found\n");
|
|
dev_err(card->dev, "TEA575x radio not found\n");
|
|
|
chip->tea575x_tuner = TUNER_DISABLED;
|
|
chip->tea575x_tuner = TUNER_DISABLED;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ chip->tea575x_tuner |= tuner_only;
|
|
|
}
|
|
}
|
|
|
if (!(chip->tea575x_tuner & TUNER_DISABLED)) {
|
|
if (!(chip->tea575x_tuner & TUNER_DISABLED)) {
|
|
|
strlcpy(chip->tea.card, get_tea575x_gpio(chip)->name,
|
|
strlcpy(chip->tea.card, get_tea575x_gpio(chip)->name,
|