OSDN Git Service

ALSA: hda - Remove superfluous external amp setup for ALC888
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 May 2010 06:40:25 +0000 (08:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 May 2010 06:40:25 +0000 (08:40 +0200)
We had a fixed external amp setup enabled for ALC888, but this seems
unnecessary.  The amps are controlled rather by GPIOs.
Let's remove it now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 2078a1a..2b0131f 100644 (file)
@@ -10580,9 +10580,6 @@ static int patch_alc882(struct hda_codec *codec)
        spec->stream_digital_playback = &alc882_pcm_digital_playback;
        spec->stream_digital_capture = &alc882_pcm_digital_capture;
 
-       if (codec->vendor_id == 0x10ec0888)
-               spec->init_amp = ALC_INIT_DEFAULT; /* always initialize */
-
        if (!spec->adc_nids && spec->input_mux) {
                int i, j;
                spec->num_adc_nids = 0;