summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2014-08-19 12:07:03 +0800
committerJiri Slaby <jslaby@suse.cz>2014-09-03 21:31:17 +0200
commitde2a8e4ab77592a1012455e8849cb2cf2330fb6b (patch)
tree9cfc233cfb98f233ae880b9ba443c9060c63fa9a /block
parentd5c6f748ee38014886168c85814b142bba5f605f (diff)
ALSA: hda - restore the gpio led after resume
commit f475371aa65de84fa483a998ab7594531026b9d9 upstream. On some HP laptops, the mute led is controlled by codec gpio. When some machine resume from s3/s4, the codec gpio data will be cleared to 0 by BIOS: Before suspend: IO[3]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0 After resume: IO[3]: enable=1, dir=1, wake=0, sticky=0, data=0, unsol=0 To skip the AFG node to enter D3 can't fix this problem. A workaround is to restore the gpio data when the system resume back from s3/s4. It is safe even on the machines without this problem. BugLink: https://bugs.launchpad.net/bugs/1358116 Tested-by: Franz Hsieh <franz.hsieh@canonical.com> Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions