From: Takashi Iwai Date: Tue, 18 Nov 2008 09:38:56 +0000 (+0100) Subject: ALSA: hda - Fix restore of pin configs at resume for STAC/IDT codecs X-Git-Tag: v2.6.29-rc1~590^2~6^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af9f341a94482594ac28cb5b07c655b458bfe84e;p=pandora-kernel.git ALSA: hda - Fix restore of pin configs at resume for STAC/IDT codecs Fixed the restore of pin configs at resume for some STAC/IDT codec models. These models set explicitly the pin configs after the default init configs, and these aren't restored properly at resume. This patch introduces two changes: - Allocate always pin_configs array in stac_spec so that the driver can overwrite the value freely - Introduce stac_change_pin_config() to change the pin config value Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed