diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-07-05 16:50:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 10:29:26 -0700 |
commit | c6351bcaa687686e784b85d92e544e4c0176ef09 (patch) | |
tree | efb5a026131979809a5391d88f3fa2394e1e6c5f /drivers | |
parent | 665f533f1927ee6582b1c896d0c1c98132853980 (diff) |
ALSA: hda - Restore cleared pin controls on resume
commit ac0547dc62e67a3e0b0c1628b6e49efba8f517db upstream.
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
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions