ALSA: hda - Add missing initializations for ALC268 and ALC269
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Jun 2009 09:33:53 +0000 (11:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 29 Jun 2009 09:33:53 +0000 (11:33 +0200)
During the changes to clean up / fix the realtek codec initialization
routines in commit 4a79ba34cada6a5a4ee86ed53aa8a73ba1e6fc51,
I forgot to add the check for ALC268 and ALC269.
This resulted in the missing EAPD and COEF setup for these codecs.

This patch adds the missing checks for these codecs.

Reference: bko#13633
http://bugzilla.kernel.org/show_bug.cgi?id=13633

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

index 08846d222cbe1cc2ac8b377b0f6061e522e63b5e..3a8e58c483dfdd6e3ffa1c2af5f571280f145f33 100644 (file)
@@ -12463,6 +12463,8 @@ static int alc268_parse_auto_config(struct hda_codec *codec)
        if (err < 0)
                return err;
 
+       alc_ssid_check(codec, 0x15, 0x1b, 0x14);
+
        return 1;
 }
 
@@ -13371,6 +13373,8 @@ static int alc269_parse_auto_config(struct hda_codec *codec)
        if (!spec->cap_mixer && !spec->no_analog)
                set_capture_mixer(spec);
 
+       alc_ssid_check(codec, 0x15, 0x1b, 0x14);
+
        return 1;
 }