Ignore:
Timestamp:
Jul 16, 2008, 11:53:49 AM (17 years ago)
Author:
Paul Smedley
Message:

Update uniaud32-2.0 branch to ALSA 1.0.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/alsa-kernel/pci/cmipci.c

    r310 r358  
    27612761
    27622762        for (idx = 0; idx < CM_SAVED_MIXERS; idx++) {
    2763                 struct snd_ctl_elem_id id;
     2763                struct snd_ctl_elem_id elem_id;
    27642764                struct snd_kcontrol *ctl;
    2765                 memset(&id, 0, sizeof(id));
    2766                 id.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
    2767                 strcpy(id.name, cm_saved_mixer[idx].name);
    2768                 if ((ctl = snd_ctl_find_id(cm->card, &id)) != NULL)
     2765                memset(&elem_id, 0, sizeof(elem_id));
     2766                elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
     2767                strcpy(elem_id.name, cm_saved_mixer[idx].name);
     2768                ctl = snd_ctl_find_id(cm->card, &elem_id);
     2769                if (ctl)
    27692770                        cm->mixer_res_ctl[idx] = ctl;
    27702771        }
     
    29492950                snd_cmipci_mixer_write(cm, 0, 0);
    29502951
    2951                 synchronize_irq(cm->irq);
    2952 
    29532952                free_irq(cm->irq, cm);
    29542953        }
Note: See TracChangeset for help on using the changeset viewer.