diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/ac97/ac97_codec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 2d2f16e11082..07364c00768a 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c | |||
@@ -2295,9 +2295,11 @@ static void snd_ac97_powerdown(struct snd_ac97 *ac97) | |||
2295 | power |= AC97_PD_PR0 | AC97_PD_PR1; /* ADC & DAC powerdown */ | 2295 | power |= AC97_PD_PR0 | AC97_PD_PR1; /* ADC & DAC powerdown */ |
2296 | snd_ac97_write(ac97, AC97_POWERDOWN, power); | 2296 | snd_ac97_write(ac97, AC97_POWERDOWN, power); |
2297 | udelay(100); | 2297 | udelay(100); |
2298 | power |= AC97_PD_PR2 | AC97_PD_PR3; /* Analog Mixer powerdown */ | 2298 | power |= AC97_PD_PR2; /* Analog Mixer powerdown (Vref on) */ |
2299 | snd_ac97_write(ac97, AC97_POWERDOWN, power); | 2299 | snd_ac97_write(ac97, AC97_POWERDOWN, power); |
2300 | if (ac97_is_power_save_mode(ac97)) { | 2300 | if (ac97_is_power_save_mode(ac97)) { |
2301 | power |= AC97_PD_PR3; /* Analog Mixer powerdown */ | ||
2302 | snd_ac97_write(ac97, AC97_POWERDOWN, power); | ||
2301 | udelay(100); | 2303 | udelay(100); |
2302 | /* AC-link powerdown, internal Clk disable */ | 2304 | /* AC-link powerdown, internal Clk disable */ |
2303 | /* FIXME: this may cause click noises on some boards */ | 2305 | /* FIXME: this may cause click noises on some boards */ |