]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Fix detection of ALC271X codec
authorHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Thu, 27 Sep 2012 13:38:14 +0000 (10:38 -0300)
committerTakashi Iwai <tiwai@suse.de>
Sat, 6 Oct 2012 14:47:24 +0000 (16:47 +0200)
commitf42e42106575afcd991021e25ebdcf897da38ff3
tree079417db1dd1407f526f7db84abcab967c37f8fe
parent123a6604c1484e9a2b5afc93472ac54a3ba5c81a
ALSA: hda/realtek - Fix detection of ALC271X codec

In commit 3ec6129 ("ALSA: hda/realtek - Call alc_auto_parse_customize_define()
always after fixup"), alc_auto_parse_customize_define was moved after
detection of ALC271X.

The problem is that detection of ALC271X relies on spec->cdefine.platform_type,
and it's set on alc_auto_parse_customize_define.

Move the alc_auto_parse_customize_define and its required fixup setup
before the block doing the ALC271X and other codec setup.

BugLink: https://bugs.launchpad.net/bugs/1006690
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Reviewed-by: David Henningsson <david.henningsson@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c