Changeset 598 for GPL/trunk/alsa-kernel/pci/emu10k1/emu10k1.c
- Timestamp:
- Apr 3, 2017, 4:51:56 PM (8 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
-
Property svn:mergeinfo
set to
/GPL/branches/uniaud32-2.1.x merged eligible
-
Property svn:mergeinfo
set to
-
GPL/trunk/alsa-kernel/pci/emu10k1/emu10k1.c
r464 r598 59 59 static int enable_ir[SNDRV_CARDS]; 60 60 static uint subsystem[SNDRV_CARDS]; /* Force card subsystem model */ 61 #ifndef TARGET_OS2 62 static uint delay_pcm_irq[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; 63 #else 64 static uint delay_pcm_irq[SNDRV_CARDS] = {2,2,2,2,2,2,2,2}; 65 #endif 61 66 62 67 module_param_array(index, int, NULL, 0444); … … 80 85 module_param_array(subsystem, uint, NULL, 0444); 81 86 MODULE_PARM_DESC(subsystem, "Force card subsystem model."); 87 module_param_array(delay_pcm_irq, uint, NULL, 0444); 88 MODULE_PARM_DESC(delay_pcm_irq, "Delay PCM interrupt by specified number of samples (default 0)."); 82 89 /* 83 90 * Class 0401: 1102:0008 (rev 00) Subsystem: 1102:1001 -> Audigy2 Value Model:SB0400 84 91 */ 85 static struct pci_device_id snd_emu10k1_ids[]= {92 static DEFINE_PCI_DEVICE_TABLE(snd_emu10k1_ids) = { 86 93 { PCI_VDEVICE(CREATIVE, 0x0002), 0 }, /* EMU10K1 */ 87 94 { PCI_VDEVICE(CREATIVE, 0x0004), 1 }, /* Audigy */ … … 134 141 goto error; 135 142 card->private_data = emu; 143 emu->delay_pcm_irq = delay_pcm_irq[dev] & 0x1f; 136 144 if ((err = snd_emu10k1_pcm(emu, 0, NULL)) < 0) 137 145 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.