diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-07-05 10:50:13 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-07-09 02:42:29 -0400 |
commit | ac0547dc62e67a3e0b0c1628b6e49efba8f517db (patch) | |
tree | dafd1c8283cc09c3eda5d8fc2a1d06ffeb0141c8 /sound/soc/soc-utils.c | |
parent | f189efcd1cc06b75fe18642c9751d26aa5ed2b54 (diff) |
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: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/soc-utils.c')
0 files changed, 0 insertions, 0 deletions