diff options
-rw-r--r-- | sound/pci/fm801.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 2e402ece4c86..8e6b04b39dcc 100644 --- a/sound/pci/fm801.c +++ b/sound/pci/fm801.c | |||
@@ -1235,8 +1235,6 @@ static int snd_fm801_create(struct snd_card *card, | |||
1235 | } | 1235 | } |
1236 | } | 1236 | } |
1237 | 1237 | ||
1238 | snd_fm801_chip_init(chip); | ||
1239 | |||
1240 | if ((chip->tea575x_tuner & TUNER_ONLY) == 0) { | 1238 | if ((chip->tea575x_tuner & TUNER_ONLY) == 0) { |
1241 | if (devm_request_irq(&pci->dev, pci->irq, snd_fm801_interrupt, | 1239 | if (devm_request_irq(&pci->dev, pci->irq, snd_fm801_interrupt, |
1242 | IRQF_SHARED, KBUILD_MODNAME, chip)) { | 1240 | IRQF_SHARED, KBUILD_MODNAME, chip)) { |
@@ -1248,6 +1246,8 @@ static int snd_fm801_create(struct snd_card *card, | |||
1248 | pci_set_master(pci); | 1246 | pci_set_master(pci); |
1249 | } | 1247 | } |
1250 | 1248 | ||
1249 | snd_fm801_chip_init(chip); | ||
1250 | |||
1251 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { | 1251 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { |
1252 | snd_fm801_free(chip); | 1252 | snd_fm801_free(chip); |
1253 | return err; | 1253 | return err; |