aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-02-23 02:07:15 -0500
committerTakashi Iwai <tiwai@suse.de>2010-02-23 02:07:15 -0500
commitd01aecdf900574cf6be7c1c6114e708801126baf (patch)
treeb459cab358393c3929d753974287ca9022531592 /sound/pci/hda/patch_realtek.c
parent0708cc582f0fe2578eaab722841caf2b4f8cfe37 (diff)
ALSA: hda - Remove identical definitions for macmini3 model
The channel mode definitions for macmini3 model are identical with mb5. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f8fb260a2dd7..c74ca39a0b8e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7008,35 +7008,7 @@ static struct hda_channel_mode alc885_mb5_6ch_modes[2] = {
7008 { 6, alc885_mb5_ch6_init }, 7008 { 6, alc885_mb5_ch6_init },
7009}; 7009};
7010 7010
7011/* 7011#define alc885_macmini3_6ch_modes alc885_mb5_6ch_modes
7012 * 2ch
7013 * Speakers/Woofer/HP = Front
7014 * LineIn = Input
7015 */
7016static struct hda_verb alc885_macmini3_ch2_init[] = {
7017 {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
7018 {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},
7019 { } /* end */
7020};
7021
7022/*
7023 * 6ch mode
7024 * Speakers/HP = Front
7025 * Woofer = LFE
7026 * LineIn = Surround
7027 */
7028static struct hda_verb alc885_macmini3_ch6_init[] = {
7029 {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
7030 {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
7031 {0x15, AC_VERB_SET_CONNECT_SEL, 0x01},
7032 { } /* end */
7033};
7034
7035static struct hda_channel_mode alc885_macmini3_6ch_modes[2] = {
7036 { 2, alc885_mb5_ch2_init },
7037 { 6, alc885_mb5_ch6_init },
7038};
7039
7040 7012
7041/* 7013/*
7042 * 2ch mode 7014 * 2ch mode