diff options
Diffstat (limited to 'sound/pci/ymfpci')
-rw-r--r-- | sound/pci/ymfpci/ymfpci_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c index 2164e34e46b7..92d49aadf579 100644 --- a/sound/pci/ymfpci/ymfpci_main.c +++ b/sound/pci/ymfpci/ymfpci_main.c | |||
@@ -2153,6 +2153,7 @@ static int __devinit snd_ymfpci_memalloc(struct snd_ymfpci *chip) | |||
2153 | for (reg = 0x80; reg < 0xc0; reg += 4) | 2153 | for (reg = 0x80; reg < 0xc0; reg += 4) |
2154 | snd_ymfpci_writel(chip, reg, 0); | 2154 | snd_ymfpci_writel(chip, reg, 0); |
2155 | snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0x3fff3fff); | 2155 | snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0x3fff3fff); |
2156 | snd_ymfpci_writel(chip, YDSXGR_BUF441OUTVOL, 0x3fff3fff); | ||
2156 | snd_ymfpci_writel(chip, YDSXGR_ZVOUTVOL, 0x3fff3fff); | 2157 | snd_ymfpci_writel(chip, YDSXGR_ZVOUTVOL, 0x3fff3fff); |
2157 | snd_ymfpci_writel(chip, YDSXGR_SPDIFOUTVOL, 0x3fff3fff); | 2158 | snd_ymfpci_writel(chip, YDSXGR_SPDIFOUTVOL, 0x3fff3fff); |
2158 | snd_ymfpci_writel(chip, YDSXGR_NATIVEADCINVOL, 0x3fff3fff); | 2159 | snd_ymfpci_writel(chip, YDSXGR_NATIVEADCINVOL, 0x3fff3fff); |
@@ -2270,6 +2271,7 @@ int snd_ymfpci_suspend(struct pci_dev *pci, pm_message_t state) | |||
2270 | chip->saved_regs[i] = snd_ymfpci_readl(chip, saved_regs_index[i]); | 2271 | chip->saved_regs[i] = snd_ymfpci_readl(chip, saved_regs_index[i]); |
2271 | chip->saved_ydsxgr_mode = snd_ymfpci_readl(chip, YDSXGR_MODE); | 2272 | chip->saved_ydsxgr_mode = snd_ymfpci_readl(chip, YDSXGR_MODE); |
2272 | snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0); | 2273 | snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0); |
2274 | snd_ymfpci_writel(chip, YDSXGR_BUF441OUTVOL, 0); | ||
2273 | snd_ymfpci_disable_dsp(chip); | 2275 | snd_ymfpci_disable_dsp(chip); |
2274 | pci_disable_device(pci); | 2276 | pci_disable_device(pci); |
2275 | pci_save_state(pci); | 2277 | pci_save_state(pci); |