Ignore:
Timestamp:
Aug 30, 2008, 9:18:38 PM (17 years ago)
Author:
Brendan Oakley
Message:

Missed stuff in 1.0.4

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

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/pci/ac97/ac97_pcm.c

    r302 r366  
    213213                snd_ac97_update_bits_nolock(ac97, reg, mask, bits);
    214214                /* update the internal spdif bits */
    215                 sbits = ac97->spdif_status;
    216                 if (sbits & IEC958_AES0_PROFESSIONAL) {
    217                         sbits &= ~IEC958_AES0_PRO_FS;
    218                         switch (rate) {
    219                         case 44100: sbits |= IEC958_AES0_PRO_FS_44100; break;
    220                         case 48000: sbits |= IEC958_AES0_PRO_FS_48000; break;
    221                         case 32000: sbits |= IEC958_AES0_PRO_FS_32000; break;
    222                         }
    223                 } else {
    224                         sbits &= ~(IEC958_AES3_CON_FS << 24);
    225                         switch (rate) {
    226                         case 44100: sbits |= IEC958_AES3_CON_FS_44100<<24; break;
    227                         case 48000: sbits |= IEC958_AES3_CON_FS_48000<<24; break;
    228                         case 32000: sbits |= IEC958_AES3_CON_FS_32000<<24; break;
    229                         }
    230                 }
    231                 ac97->spdif_status = sbits;
    232                 /* update the internal spdif bits */
    233215#ifndef TARGET_OS2
    234216                spin_lock(&ac97->reg_lock);
  • GPL/branches/alsa-resync1/alsa-kernel/pci/cmipci.c

    r300 r366  
    26272627 */
    26282628
    2629 static void snd_cmipci_proc_read(struct snd_info_entry *entry,
     2629#ifdef CONFIG_PROC_FS
     2630static void snd_cmipci_proc_read(struct snd_info_entry *entry,
    26302631                                 struct snd_info_buffer *buffer)
    26312632{
     
    26492650{
    26502651    struct snd_info_entry *entry;
     2652
    26512653    if (! snd_card_proc_new(cm->card, "cmipci", &entry))
    26522654        snd_info_set_text_ops(entry, cm, 1024, snd_cmipci_proc_read);
    26532655}
     2656#else /* !CONFIG_PROC_FS */
     2657static inline void snd_cmipci_proc_init(struct cmipci *cm) {}
     2658#endif
     2659
    26542660
    26552661static struct pci_device_id snd_cmipci_ids[] = {
  • GPL/branches/alsa-resync1/alsa-kernel/pci/intel8x0.c

    r348 r366  
    4242#define SNDRV_GET_ID
    4343#include <sound/initval.h>
     44/* for 440MX workaround */
     45#include <asm/pgtable.h>
     46#include <asm/cacheflush.h>
    4447
    4548#define I810_DEBUG
     
    8285#else
    8386static int ac97_clock[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 0};
     87static int ac97_quirk[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = AC97_TUNE_DEFAULT};
    8488#endif
    8589#ifdef SUPPORT_JOYSTICK
     
    865869            /* ack */
    866870            iputdword(chip, chip->int_sta_reg, status);
    867             /* FIXME: on some ICH5 board shows the same
    868              *        problem.  So we return IRQ_HANDLED
    869              *        in any cases.
    870              * (or, maybe add a new module param to control this?)
    871              */
    872 #if 0
    873             if (chip->device_type != DEVICE_NFORCE)
    874                 status ^= igetdword(chip, chip->int_sta_reg);
    875 #endif
    876         }
    877         return IRQ_NONE/*RETVAL(status)*/;
     871                        /* some Nforce[2] boards have problems when
     872                           IRQ_NONE is returned here.
     873                        */
     874                        if (chip->device_type != DEVICE_NFORCE)
     875                                status = 0;
     876        }
     877                spin_unlock(&chip->reg_lock);
     878        return IRQ_RETVAL(status);
    878879    }
    879880#ifdef TARGET_OS2
Note: See TracChangeset for help on using the changeset viewer.