Changeset 772 for GPL/trunk/alsa-kernel/pci/es1968.c
- Timestamp:
- Apr 19, 2025, 8:08:37 PM (4 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-6.6-LTS (added) merged: 765,768-769 /GPL/branches/uniaud32-exp (added) merged: 735-741,743-744,748-751,753-760,762-764 /GPL/branches/uniaud32-next merged: 718-734
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/pci/es1968.c
r717 r772 2042 2042 struct snd_ac97_bus *pbus; 2043 2043 struct snd_ac97_template ac97; 2044 #ifndef CONFIG_SND_ES1968_INPUT2045 struct snd_ctl_elem_id elem_id;2046 #endif2047 2044 int err; 2048 2045 static const struct snd_ac97_bus_ops ops = { … … 2064 2061 #ifndef CONFIG_SND_ES1968_INPUT 2065 2062 /* 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"); 2074 2067 #endif 2075 2068
Note:
See TracChangeset
for help on using the changeset viewer.