diff options
Diffstat (limited to 'sound/pci/ac97/ac97_codec.c')
-rw-r--r-- | sound/pci/ac97/ac97_codec.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index df1333332a5e..3e5ff29fc499 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c | |||
@@ -2496,7 +2496,10 @@ void snd_ac97_resume(struct snd_ac97 *ac97) | |||
2496 | 2496 | ||
2497 | snd_ac97_write(ac97, AC97_POWERDOWN, 0); | 2497 | snd_ac97_write(ac97, AC97_POWERDOWN, 0); |
2498 | if (! (ac97->flags & AC97_DEFAULT_POWER_OFF)) { | 2498 | if (! (ac97->flags & AC97_DEFAULT_POWER_OFF)) { |
2499 | snd_ac97_write(ac97, AC97_RESET, 0); | 2499 | if (!(ac97->scaps & AC97_SCAP_SKIP_AUDIO)) |
2500 | snd_ac97_write(ac97, AC97_RESET, 0); | ||
2501 | else if (!(ac97->scaps & AC97_SCAP_SKIP_MODEM)) | ||
2502 | snd_ac97_write(ac97, AC97_EXTENDED_MID, 0); | ||
2500 | udelay(100); | 2503 | udelay(100); |
2501 | snd_ac97_write(ac97, AC97_POWERDOWN, 0); | 2504 | snd_ac97_write(ac97, AC97_POWERDOWN, 0); |
2502 | } | 2505 | } |