diff options
-rw-r--r-- | sound/pci/ens1370.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c index 55aaf110331a..bee382995fe9 100644 --- a/sound/pci/ens1370.c +++ b/sound/pci/ens1370.c | |||
@@ -2061,6 +2061,13 @@ static int snd_ensoniq_suspend(struct pci_dev *pci, pm_message_t state) | |||
2061 | #ifdef CHIP1371 | 2061 | #ifdef CHIP1371 |
2062 | snd_ac97_suspend(ensoniq->u.es1371.ac97); | 2062 | snd_ac97_suspend(ensoniq->u.es1371.ac97); |
2063 | #else | 2063 | #else |
2064 | /* try to reset AK4531 */ | ||
2065 | outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x02), ES_REG(ensoniq, 1370_CODEC)); | ||
2066 | inw(ES_REG(ensoniq, 1370_CODEC)); | ||
2067 | udelay(100); | ||
2068 | outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x03), ES_REG(ensoniq, 1370_CODEC)); | ||
2069 | inw(ES_REG(ensoniq, 1370_CODEC)); | ||
2070 | udelay(100); | ||
2064 | snd_ak4531_suspend(ensoniq->u.es1370.ak4531); | 2071 | snd_ak4531_suspend(ensoniq->u.es1370.ak4531); |
2065 | #endif | 2072 | #endif |
2066 | pci_set_power_state(pci, PCI_D3hot); | 2073 | pci_set_power_state(pci, PCI_D3hot); |