Skip to content

Commit

Permalink
ALSA: hda - Remove identical definitions for macmini3 model
Browse files Browse the repository at this point in the history
The channel mode definitions for macmini3 model are identical with mb5.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Feb 23, 2010
1 parent 0708cc5 commit d01aecd
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d01aecd

Please sign in to comment.