aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c24
1 files changed, 5 insertions, 19 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 07e260a5ddf0..de72b72f58f4 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -12427,20 +12427,11 @@ static struct snd_kcontrol_new alc269_lifebook_mixer[] = {
12427 { } 12427 { }
12428}; 12428};
12429 12429
12430/* bind volumes of both NID 0x0c and 0x0d */
12431static struct hda_bind_ctls alc269_epc_bind_vol = {
12432 .ops = &snd_hda_bind_vol,
12433 .values = {
12434 HDA_COMPOSE_AMP_VAL(0x02, 3, 0, HDA_OUTPUT),
12435 HDA_COMPOSE_AMP_VAL(0x03, 3, 0, HDA_OUTPUT),
12436 0
12437 },
12438};
12439
12440static struct snd_kcontrol_new alc269_eeepc_mixer[] = { 12430static struct snd_kcontrol_new alc269_eeepc_mixer[] = {
12441 HDA_CODEC_MUTE("iSpeaker Playback Switch", 0x14, 0x0, HDA_OUTPUT), 12431 HDA_CODEC_MUTE("Speaker Playback Switch", 0x14, 0x0, HDA_OUTPUT),
12442 HDA_BIND_VOL("LineOut Playback Volume", &alc269_epc_bind_vol), 12432 HDA_CODEC_MUTE("Speaker Playback Volume", 0x02, 0x0, HDA_OUTPUT),
12443 HDA_CODEC_MUTE("LineOut Playback Switch", 0x15, 0x0, HDA_OUTPUT), 12433 HDA_CODEC_MUTE("Headphone Playback Switch", 0x15, 0x0, HDA_OUTPUT),
12434 HDA_CODEC_MUTE("Headphone Playback Volume", 0x03, 0x0, HDA_OUTPUT),
12444 { } /* end */ 12435 { } /* end */
12445}; 12436};
12446 12437
@@ -12453,12 +12444,7 @@ static struct snd_kcontrol_new alc269_epc_capture_mixer[] = {
12453}; 12444};
12454 12445
12455/* FSC amilo */ 12446/* FSC amilo */
12456static struct snd_kcontrol_new alc269_fujitsu_mixer[] = { 12447#define alc269_fujitsu_mixer alc269_eeepc_mixer
12457 HDA_CODEC_MUTE("Speaker Playback Switch", 0x14, 0x0, HDA_OUTPUT),
12458 HDA_CODEC_MUTE("Headphone Playback Switch", 0x15, 0x0, HDA_OUTPUT),
12459 HDA_BIND_VOL("PCM Playback Volume", &alc269_epc_bind_vol),
12460 { } /* end */
12461};
12462 12448
12463static struct hda_verb alc269_quanta_fl1_verbs[] = { 12449static struct hda_verb alc269_quanta_fl1_verbs[] = {
12464 {0x15, AC_VERB_SET_CONNECT_SEL, 0x01}, 12450 {0x15, AC_VERB_SET_CONNECT_SEL, 0x01},