X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Fpci%2Ffm801.c;h=161925b6518eba41885385b2bd72123a48fca155;hb=cb41f271d01b7c985ab47ea26fdef531a6237561;hp=0b1ae6c684c18f49d6fd988b61fdaf75e5fe07cd;hpb=37ba8fca7e42b6e689689217b9739e3a9a3c35e6;p=linux-beck.git diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 0b1ae6c684c1..161925b6518e 100644 --- a/sound/pci/fm801.c +++ b/sound/pci/fm801.c @@ -1427,6 +1427,11 @@ static int snd_fm801_resume(struct device *dev) for (i = 0; i < ARRAY_SIZE(saved_regs); i++) fm801_iowrite16(chip, saved_regs[i], chip->saved_regs[i]); +#ifdef CONFIG_SND_FM801_TEA575X_BOOL + if (!(chip->tea575x_tuner & TUNER_DISABLED)) + snd_tea575x_set_freq(&chip->tea); +#endif + snd_power_change_state(card, SNDRV_CTL_POWER_D0); return 0; }