aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/cthw20k1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/cthw20k1.c')
-rw-r--r--sound/pci/ctxfi/cthw20k1.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/pci/ctxfi/cthw20k1.c b/sound/pci/ctxfi/cthw20k1.c
index b8b0d8ef9319..1cac55fd1139 100644
--- a/sound/pci/ctxfi/cthw20k1.c
+++ b/sound/pci/ctxfi/cthw20k1.c
@@ -2096,20 +2096,11 @@ static int hw_suspend(struct hw *hw)
2096 pci_write_config_dword(pci, UAA_CFG_SPACE_FLAG, 0x0); 2096 pci_write_config_dword(pci, UAA_CFG_SPACE_FLAG, 0x0);
2097 } 2097 }
2098 2098
2099 pci_disable_device(pci);
2100 pci_save_state(pci);
2101 pci_set_power_state(pci, PCI_D3hot);
2102
2103 return 0; 2099 return 0;
2104} 2100}
2105 2101
2106static int hw_resume(struct hw *hw, struct card_conf *info) 2102static int hw_resume(struct hw *hw, struct card_conf *info)
2107{ 2103{
2108 struct pci_dev *pci = hw->pci;
2109
2110 pci_set_power_state(pci, PCI_D0);
2111 pci_restore_state(pci);
2112
2113 /* Re-initialize card hardware. */ 2104 /* Re-initialize card hardware. */
2114 return hw_card_init(hw, info); 2105 return hw_card_init(hw, info);
2115} 2106}