Ignore:
Timestamp:
Oct 15, 2007, 1:51:34 AM (18 years ago)
Author:
Brendan Oakley
Message:

Merged to ALSA 0.9.6

Location:
GPL/branches/alsa-resync1/alsa-kernel/pci
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/pci/ice1712/ak4xxx.c

    r250 r260  
    123123 * initialize the akm4xxx_t record with the template
    124124 */
    125 int __devinit snd_ice1712_akm4xxx_init(akm4xxx_t *ak, const akm4xxx_t *temp,
    126                                        const struct snd_ak4xxx_private *_priv, ice1712_t *ice)
     125int snd_ice1712_akm4xxx_init(akm4xxx_t *ak, const akm4xxx_t *temp,
     126                             const struct snd_ak4xxx_private *_priv, ice1712_t *ice)
    127127{
    128128        struct snd_ak4xxx_private *priv;
     
    146146}
    147147
    148 void __devexit snd_ice1712_akm4xxx_free(ice1712_t *ice)
     148void snd_ice1712_akm4xxx_free(ice1712_t *ice)
    149149{
    150150        unsigned int akidx;
     
    162162 * build AK4xxx controls
    163163 */
    164 int __devinit snd_ice1712_akm4xxx_build_controls(ice1712_t *ice)
     164int snd_ice1712_akm4xxx_build_controls(ice1712_t *ice)
    165165{
    166166        unsigned int akidx;
  • GPL/branches/alsa-resync1/alsa-kernel/pci/ice1712/ice1712.h

    r250 r260  
    8787 */
    8888
    89 #define ICE1712_IREG_PBK_COUNT_HI       0x00
    90 #define ICE1712_IREG_PBK_COUNT_LO       0x01
     89#define ICE1712_IREG_PBK_COUNT_LO       0x00
     90#define ICE1712_IREG_PBK_COUNT_HI       0x01
    9191#define ICE1712_IREG_PBK_CTRL           0x02
    9292#define ICE1712_IREG_PBK_LEFT           0x03    /* left volume */
     
    9696#define ICE1712_IREG_PBK_RATE_MID       0x07
    9797#define ICE1712_IREG_PBK_RATE_HI        0x08
    98 #define ICE1712_IREG_CAP_COUNT_HI       0x10
    99 #define ICE1712_IREG_CAP_COUNT_LO       0x11
     98#define ICE1712_IREG_CAP_COUNT_LO       0x10
     99#define ICE1712_IREG_CAP_COUNT_HI       0x11
    100100#define ICE1712_IREG_CAP_CTRL           0x12
    101101#define ICE1712_IREG_GPIO_DATA          0x20
  • GPL/branches/alsa-resync1/alsa-kernel/pci/ice1712/ice1724.c

    r250 r260  
    15841584
    15851585        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;
    15881588        }
    15891589        ice->eeprom.subvendor = (snd_vt1724_read_i2c(ice, dev, 0x00) << 0) |
  • GPL/branches/alsa-resync1/alsa-kernel/pci/intel8x0.c

    r256 r260  
    11621162        static unsigned int i, rates[] = {
    11631163                /* ATTENTION: these values depend on the definition in pcm.h! */
    1164                 5512, 8000, 11025, 16000, 22050, 32000, 44100, 480000
     1164                5512, 8000, 11025, 16000, 22050, 32000, 44100, 48000
    11651165        };
    11661166    int err;
  • GPL/branches/alsa-resync1/alsa-kernel/pci/korg1212/korg1212.c

    r250 r260  
    20712071        snd_iprintf(buffer, " (index #%d)\n", korg1212->card->number + 1);
    20722072        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);
    20742074        snd_iprintf(buffer, "     clock mode: %s\n", clockSourceName[korg1212->clkSrcRate] );
    20752075        snd_iprintf(buffer, "  left ADC Sens: %d\n", korg1212->leftADCInSens );
     
    23372337
    23382338        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));
    23402340                return -ENOMEM;
    23412341        }
     
    23862386        korg1212->dspCodeSize = sizeof (dspCode);
    23872387
    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);
    23912394
    23922395        korg1212->dspMemPtr = snd_malloc_pci_pages(korg1212->pci, korg1212->dspCodeSize, &phys_addr);
  • GPL/branches/alsa-resync1/alsa-kernel/pci/rme9652/hdsp.c

    r256 r260  
    7878#define MULTIFACE_SS_CHANNELS    18
    7979#define MULTIFACE_DS_CHANNELS    14
    80 #define H9652_DS_CHANNELS        26
    81 #define H9652_SS_CHANNELS        14
     80#define H9652_SS_CHANNELS        26
     81#define H9652_DS_CHANNELS        14
    8282
    8383/* Write registers. These are defined as byte-offsets from the iobase value.
     
    645645static inline int hdsp_check_for_firmware (hdsp_t *hdsp)
    646646{
     647        if (hdsp->io_type == H9652) return 0;
    647648        if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
    648649                snd_printk("firmware not present.\n");
     
    38023803        switch (cmd) {
    38033804        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                }
    38043809                if (!(hdsp->state & HDSP_FirmwareLoaded)) {
    38053810                        snd_printk("firmware needs to be uploaded to the card.\n");     
Note: See TracChangeset for help on using the changeset viewer.