Ignore:
Timestamp:
Apr 19, 2025, 8:08:37 PM (4 months ago)
Author:
David Azarewicz
Message:

Merge in changes from 6.6-LTS branch.
Fixed additional 25+ problems.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/pci/es1968.c

    r717 r772  
    20422042        struct snd_ac97_bus *pbus;
    20432043        struct snd_ac97_template ac97;
    2044 #ifndef CONFIG_SND_ES1968_INPUT
    2045         struct snd_ctl_elem_id elem_id;
    2046 #endif
    20472044        int err;
    20482045        static const struct snd_ac97_bus_ops ops = {
     
    20642061#ifndef CONFIG_SND_ES1968_INPUT
    20652062        /* attach master switch / volumes for h/w volume control */
    2066         memset(&elem_id, 0, sizeof(elem_id));
    2067         elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
    2068         strcpy(elem_id.name, "Master Playback Switch");
    2069         chip->master_switch = snd_ctl_find_id(chip->card, &elem_id);
    2070         memset(&elem_id, 0, sizeof(elem_id));
    2071         elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
    2072         strcpy(elem_id.name, "Master Playback Volume");
    2073         chip->master_volume = snd_ctl_find_id(chip->card, &elem_id);
     2063        chip->master_switch = snd_ctl_find_id_mixer(chip->card,
     2064                                                    "Master Playback Switch");
     2065        chip->master_volume = snd_ctl_find_id_mixer(chip->card,
     2066                                                    "Master Playback Volume");
    20742067#endif
    20752068
Note: See TracChangeset for help on using the changeset viewer.