aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/hifier.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-05-13 03:24:39 -0400
committerJaroslav Kysela <perex@perex.cz>2008-05-19 07:19:17 -0400
commit4a4bc53bc52978dd6c918531921da925fd047d95 (patch)
tree3705801799fa4673f8ced7640e4bcf66049e38fd /sound/pci/oxygen/hifier.c
parent92215f3a178080bd9d7c65879499e9474e54d55c (diff)
[ALSA] oxygen: add PM support
Add suspend/resume support. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/hifier.c')
-rw-r--r--sound/pci/oxygen/hifier.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/oxygen/hifier.c b/sound/pci/oxygen/hifier.c
index 6e45a58ad14b..7442460583dd 100644
--- a/sound/pci/oxygen/hifier.c
+++ b/sound/pci/oxygen/hifier.c
@@ -146,6 +146,7 @@ static const struct oxygen_model model_hifier = {
146 .init = hifier_init, 146 .init = hifier_init,
147 .control_filter = hifier_control_filter, 147 .control_filter = hifier_control_filter,
148 .cleanup = hifier_cleanup, 148 .cleanup = hifier_cleanup,
149 .resume = hifier_registers_init,
149 .set_dac_params = set_ak4396_params, 150 .set_dac_params = set_ak4396_params,
150 .set_adc_params = set_cs5340_params, 151 .set_adc_params = set_cs5340_params,
151 .update_dac_volume = update_ak4396_volume, 152 .update_dac_volume = update_ak4396_volume,
@@ -186,6 +187,10 @@ static struct pci_driver hifier_driver = {
186 .id_table = hifier_ids, 187 .id_table = hifier_ids,
187 .probe = hifier_probe, 188 .probe = hifier_probe,
188 .remove = __devexit_p(oxygen_pci_remove), 189 .remove = __devexit_p(oxygen_pci_remove),
190#ifdef CONFIG_PM
191 .suspend = oxygen_pci_suspend,
192 .resume = oxygen_pci_resume,
193#endif
189}; 194};
190 195
191static int __init alsa_card_hifier_init(void) 196static int __init alsa_card_hifier_init(void)