Changeset 260 for GPL/branches/alsa-resync1/alsa-kernel/pci
- Timestamp:
- Oct 15, 2007, 1:51:34 AM (18 years ago)
- Location:
- GPL/branches/alsa-resync1/alsa-kernel/pci
- Files:
-
- 6 edited
-
ice1712/ak4xxx.c (modified) (3 diffs)
-
ice1712/ice1712.h (modified) (2 diffs)
-
ice1712/ice1724.c (modified) (1 diff)
-
intel8x0.c (modified) (1 diff)
-
korg1212/korg1212.c (modified) (3 diffs)
-
rme9652/hdsp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/pci/ice1712/ak4xxx.c
r250 r260 123 123 * initialize the akm4xxx_t record with the template 124 124 */ 125 int __devinitsnd_ice1712_akm4xxx_init(akm4xxx_t *ak, const akm4xxx_t *temp,126 const struct snd_ak4xxx_private *_priv, ice1712_t *ice)125 int snd_ice1712_akm4xxx_init(akm4xxx_t *ak, const akm4xxx_t *temp, 126 const struct snd_ak4xxx_private *_priv, ice1712_t *ice) 127 127 { 128 128 struct snd_ak4xxx_private *priv; … … 146 146 } 147 147 148 void __devexitsnd_ice1712_akm4xxx_free(ice1712_t *ice)148 void snd_ice1712_akm4xxx_free(ice1712_t *ice) 149 149 { 150 150 unsigned int akidx; … … 162 162 * build AK4xxx controls 163 163 */ 164 int __devinitsnd_ice1712_akm4xxx_build_controls(ice1712_t *ice)164 int snd_ice1712_akm4xxx_build_controls(ice1712_t *ice) 165 165 { 166 166 unsigned int akidx; -
GPL/branches/alsa-resync1/alsa-kernel/pci/ice1712/ice1712.h
r250 r260 87 87 */ 88 88 89 #define ICE1712_IREG_PBK_COUNT_ HI0x0090 #define ICE1712_IREG_PBK_COUNT_ LO0x0189 #define ICE1712_IREG_PBK_COUNT_LO 0x00 90 #define ICE1712_IREG_PBK_COUNT_HI 0x01 91 91 #define ICE1712_IREG_PBK_CTRL 0x02 92 92 #define ICE1712_IREG_PBK_LEFT 0x03 /* left volume */ … … 96 96 #define ICE1712_IREG_PBK_RATE_MID 0x07 97 97 #define ICE1712_IREG_PBK_RATE_HI 0x08 98 #define ICE1712_IREG_CAP_COUNT_ HI0x1099 #define ICE1712_IREG_CAP_COUNT_ LO0x1198 #define ICE1712_IREG_CAP_COUNT_LO 0x10 99 #define ICE1712_IREG_CAP_COUNT_HI 0x11 100 100 #define ICE1712_IREG_CAP_CTRL 0x12 101 101 #define ICE1712_IREG_GPIO_DATA 0x20 -
GPL/branches/alsa-resync1/alsa-kernel/pci/ice1712/ice1724.c
r250 r260 1584 1584 1585 1585 if ((inb(ICEREG1724(ice, I2C_CTRL)) & VT1724_I2C_EEPROM) == 0) { 1586 snd_printk( "ICE1724 has not detected EEPROM\n");1587 return -EIO;1586 snd_printk(KERN_WARNING "ICE1724 has not detected EEPROM\n"); 1587 // return -EIO; 1588 1588 } 1589 1589 ice->eeprom.subvendor = (snd_vt1724_read_i2c(ice, dev, 0x00) << 0) | -
GPL/branches/alsa-resync1/alsa-kernel/pci/intel8x0.c
r256 r260 1162 1162 static unsigned int i, rates[] = { 1163 1163 /* ATTENTION: these values depend on the definition in pcm.h! */ 1164 5512, 8000, 11025, 16000, 22050, 32000, 44100, 48000 01164 5512, 8000, 11025, 16000, 22050, 32000, 44100, 48000 1165 1165 }; 1166 1166 int err; -
GPL/branches/alsa-resync1/alsa-kernel/pci/korg1212/korg1212.c
r250 r260 2071 2071 snd_iprintf(buffer, " (index #%d)\n", korg1212->card->number + 1); 2072 2072 snd_iprintf(buffer, "\nGeneral settings\n"); 2073 snd_iprintf(buffer, " period size: % d bytes\n", K1212_PERIOD_BYTES);2073 snd_iprintf(buffer, " period size: %Zd bytes\n", K1212_PERIOD_BYTES); 2074 2074 snd_iprintf(buffer, " clock mode: %s\n", clockSourceName[korg1212->clkSrcRate] ); 2075 2075 snd_iprintf(buffer, " left ADC Sens: %d\n", korg1212->leftADCInSens ); … … 2337 2337 2338 2338 if (korg1212->sharedBufferPtr == NULL) { 2339 snd_printk(KERN_ERR "can not allocate shared buffer memory (% d bytes)\n", sizeof(KorgSharedBuffer));2339 snd_printk(KERN_ERR "can not allocate shared buffer memory (%Zd bytes)\n", sizeof(KorgSharedBuffer)); 2340 2340 return -ENOMEM; 2341 2341 } … … 2386 2386 korg1212->dspCodeSize = sizeof (dspCode); 2387 2387 2388 korg1212->VolumeTablePhy = (u32) &((KorgSharedBuffer *) korg1212->sharedBufferPhy)->volumeData; 2389 korg1212->RoutingTablePhy = (u32) &((KorgSharedBuffer *) korg1212->sharedBufferPhy)->routeData; 2390 korg1212->AdatTimeCodePhy = (u32) &((KorgSharedBuffer *) korg1212->sharedBufferPhy)->AdatTimeCode; 2388 korg1212->VolumeTablePhy = korg1212->sharedBufferPhy + 2389 offsetof(KorgSharedBuffer, volumeData); 2390 korg1212->RoutingTablePhy = korg1212->sharedBufferPhy + 2391 offsetof(KorgSharedBuffer, routeData); 2392 korg1212->AdatTimeCodePhy = korg1212->sharedBufferPhy + 2393 offsetof(KorgSharedBuffer, AdatTimeCode); 2391 2394 2392 2395 korg1212->dspMemPtr = snd_malloc_pci_pages(korg1212->pci, korg1212->dspCodeSize, &phys_addr); -
GPL/branches/alsa-resync1/alsa-kernel/pci/rme9652/hdsp.c
r256 r260 78 78 #define MULTIFACE_SS_CHANNELS 18 79 79 #define MULTIFACE_DS_CHANNELS 14 80 #define H9652_ DS_CHANNELS 2681 #define H9652_ SS_CHANNELS 1480 #define H9652_SS_CHANNELS 26 81 #define H9652_DS_CHANNELS 14 82 82 83 83 /* Write registers. These are defined as byte-offsets from the iobase value. … … 645 645 static inline int hdsp_check_for_firmware (hdsp_t *hdsp) 646 646 { 647 if (hdsp->io_type == H9652) return 0; 647 648 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) { 648 649 snd_printk("firmware not present.\n"); … … 3802 3803 switch (cmd) { 3803 3804 case SNDRV_HDSP_IOCTL_GET_PEAK_RMS: 3805 if (hdsp->io_type == H9652) { 3806 snd_printk("hardware metering isn't supported yet for hdsp9652 cards\n"); 3807 return -EINVAL; 3808 } 3804 3809 if (!(hdsp->state & HDSP_FirmwareLoaded)) { 3805 3810 snd_printk("firmware needs to be uploaded to the card.\n");
Note:
See TracChangeset
for help on using the changeset viewer.
