From: Herton Ronaldo Krzesinski Date: Thu, 27 Sep 2012 13:38:14 +0000 (-0300) Subject: ALSA: hda/realtek - Fix detection of ALC271X codec X-Git-Tag: v3.7-rc1~81^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f720bb9409ea5923361fbd3fdbc505ca36cf012;p=pandora-kernel.git ALSA: hda/realtek - Fix detection of ALC271X codec In commit af741c1 ("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 Reviewed-by: David Henningsson Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed