From: Takashi Iwai Date: Mon, 5 Jul 2010 14:50:13 +0000 (+0200) Subject: ALSA: hda - Restore cleared pin controls on resume X-Git-Tag: v2.6.35-rc5~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac0547dc62e67a3e0b0c1628b6e49efba8f517db;p=pandora-kernel.git ALSA: hda - Restore cleared pin controls on resume Many codecs now clear the pin controls at suspend via snd_hda_shutup_pins() for reducing the click noise at power-off. But this leaves some pins uninitialized, and they'll be never recovered after resume. This patch adds the proper recovery of cleared pin controls on resume. Also it adds a check of bus->shutdown so that pins won't be cleared at module unloading. Reference: Kernel bug 16339 http://bugzilla.kernel.org/show_bug.cgi?id=16339 Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed