diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-02-20 17:20:48 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-02-20 17:30:49 +0100 |
commit | 817de92f1b52358f28534bb0b0c373f75e4b4baa (patch) | |
tree | d1a7f6267290207b7769bd99c5a0781639a1424a /sound/pci/hda/alc_quirks.c | |
parent | 7833c7e8b41d4c778e18481d7115dafa4bfaee0a (diff) | |
download | lwn-817de92f1b52358f28534bb0b0c373f75e4b4baa.tar.gz lwn-817de92f1b52358f28534bb0b0c373f75e4b4baa.zip |
ALSA: hda/realtek - Rewrite ALC880 model=uniwill with auto-parser
The model=uniwill would work almost as is, but a couple of adjustments
are needed to make the mutli-io working correctly. The headphone and
speaker pins have to be marked properly in pin configs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/alc_quirks.c')
-rw-r--r-- | sound/pci/hda/alc_quirks.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/pci/hda/alc_quirks.c b/sound/pci/hda/alc_quirks.c index b344603ac06d..a63a517780d6 100644 --- a/sound/pci/hda/alc_quirks.c +++ b/sound/pci/hda/alc_quirks.c @@ -165,15 +165,3 @@ static void alc_simple_setup_automute(struct alc_spec *spec, int mode) spec->automute_lo = spec->automute_lo_possible = !!lo_pin; spec->automute_speaker = spec->automute_speaker_possible = !!spec->autocfg.speaker_pins[0]; } - -/* auto-toggle front mic */ -static void alc88x_simple_mic_automute(struct hda_codec *codec) -{ - unsigned int present; - unsigned char bits; - - present = snd_hda_jack_detect(codec, 0x18); - bits = present ? HDA_AMP_MUTE : 0; - snd_hda_codec_amp_stereo(codec, 0x0b, HDA_INPUT, 1, HDA_AMP_MUTE, bits); -} - |