12 #include <linux/pci.h>
15 #include <linux/module.h>
26 static unsigned int reference_rate = 48000;
27 static unsigned int multiple = 2;
45 MODULE_PARM_DESC(subsystem,
"Override subsystem ID for Creative X-Fi driver");
77 if ((reference_rate != 48000) && (reference_rate != 44100)) {
81 "are 48000 and 44100, Value 48000 is assumed.\n");
82 reference_rate = 48000;
84 if ((multiple != 1) && (multiple != 2) && (multiple != 4)) {
88 "1, 2 and 4, Value 2 is assumed.\n");
112 pci_set_drvdata(pci, card);
125 pci_set_drvdata(pci,
NULL);
128 #ifdef CONFIG_PM_SLEEP
129 static int ct_card_suspend(
struct device *dev)
134 return atc->suspend(atc);
137 static int ct_card_resume(
struct device *dev)
142 return atc->resume(atc);
146 #define CT_CARD_PM_OPS &ct_card_pm
148 #define CT_CARD_PM_OPS NULL
152 .name = KBUILD_MODNAME,
153 .id_table = ct_pci_dev_ids,
154 .probe = ct_card_probe,