diff options
Diffstat (limited to 'sound/pci/emu10k1/emumixer.c')
-rw-r--r-- | sound/pci/emu10k1/emumixer.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c index 2e86a901a0a4..2a9d12d10680 100644 --- a/sound/pci/emu10k1/emumixer.c +++ b/sound/pci/emu10k1/emumixer.c | |||
@@ -759,6 +759,8 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu, | |||
759 | "Master Mono Playback Volume", | 759 | "Master Mono Playback Volume", |
760 | "PCM Out Path & Mute", | 760 | "PCM Out Path & Mute", |
761 | "Mono Output Select", | 761 | "Mono Output Select", |
762 | "Front Playback Switch", | ||
763 | "Front Playback Volume", | ||
762 | "Surround Playback Switch", | 764 | "Surround Playback Switch", |
763 | "Surround Playback Volume", | 765 | "Surround Playback Volume", |
764 | "Center Playback Switch", | 766 | "Center Playback Switch", |
@@ -829,9 +831,9 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu, | |||
829 | } | 831 | } |
830 | if (emu->audigy) { | 832 | if (emu->audigy) { |
831 | /* set master volume to 0 dB */ | 833 | /* set master volume to 0 dB */ |
832 | snd_ac97_write(emu->ac97, AC97_MASTER, 0x0000); | 834 | snd_ac97_write_cache(emu->ac97, AC97_MASTER, 0x0000); |
833 | /* set capture source to mic */ | 835 | /* set capture source to mic */ |
834 | snd_ac97_write(emu->ac97, AC97_REC_SEL, 0x0000); | 836 | snd_ac97_write_cache(emu->ac97, AC97_REC_SEL, 0x0000); |
835 | c = audigy_remove_ctls; | 837 | c = audigy_remove_ctls; |
836 | } else { | 838 | } else { |
837 | /* | 839 | /* |
@@ -844,8 +846,8 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu, | |||
844 | snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE|AC97SLOT_REAR_LEFT|AC97SLOT_REAR_RIGHT); | 846 | snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE|AC97SLOT_REAR_LEFT|AC97SLOT_REAR_RIGHT); |
845 | } | 847 | } |
846 | /* remove unused AC97 controls */ | 848 | /* remove unused AC97 controls */ |
847 | snd_ac97_write(emu->ac97, AC97_SURROUND_MASTER, 0x0202); | 849 | snd_ac97_write_cache(emu->ac97, AC97_SURROUND_MASTER, 0x0202); |
848 | snd_ac97_write(emu->ac97, AC97_CENTER_LFE_MASTER, 0x0202); | 850 | snd_ac97_write_cache(emu->ac97, AC97_CENTER_LFE_MASTER, 0x0202); |
849 | c = emu10k1_remove_ctls; | 851 | c = emu10k1_remove_ctls; |
850 | } | 852 | } |
851 | for (; *c; c++) | 853 | for (; *c; c++) |