From c149973a71c4833bfe0cdd474021f35c4097fe74 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 23 Feb 2010 08:07:15 +0100 Subject: [PATCH] --- yaml --- r: 182765 b: refs/heads/master c: d01aecdf900574cf6be7c1c6114e708801126baf h: refs/heads/master i: 182763: 04e5705b3c64002d6454d022fb3fd9f66d431dc2 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_realtek.c | 30 +---------------------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/[refs] b/[refs] index ef9034705b40..5a31719daf73 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0708cc582f0fe2578eaab722841caf2b4f8cfe37 +refs/heads/master: d01aecdf900574cf6be7c1c6114e708801126baf diff --git a/trunk/sound/pci/hda/patch_realtek.c b/trunk/sound/pci/hda/patch_realtek.c index f8fb260a2dd7..c74ca39a0b8e 100644 --- a/trunk/sound/pci/hda/patch_realtek.c +++ b/trunk/sound/pci/hda/patch_realtek.c @@ -7008,35 +7008,7 @@ static struct hda_channel_mode alc885_mb5_6ch_modes[2] = { { 6, alc885_mb5_ch6_init }, }; -/* - * 2ch - * Speakers/Woofer/HP = Front - * LineIn = Input - */ -static struct hda_verb alc885_macmini3_ch2_init[] = { - {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN}, - {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, - { } /* end */ -}; - -/* - * 6ch mode - * Speakers/HP = Front - * Woofer = LFE - * LineIn = Surround - */ -static struct hda_verb alc885_macmini3_ch6_init[] = { - {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, - {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE}, - {0x15, AC_VERB_SET_CONNECT_SEL, 0x01}, - { } /* end */ -}; - -static struct hda_channel_mode alc885_macmini3_6ch_modes[2] = { - { 2, alc885_mb5_ch2_init }, - { 6, alc885_mb5_ch6_init }, -}; - +#define alc885_macmini3_6ch_modes alc885_mb5_6ch_modes /* * 2ch mode