diff options
author | Wang Xingchao <xingchao.wang@linux.intel.com> | 2013-07-25 23:34:46 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-07-29 14:33:20 +0200 |
commit | 7d4f606c50ffaaa3ac60b7faf770dc6e84af3207 (patch) | |
tree | b833c9ec23b4496a61e96d7887469c3bf47722af /Documentation/sound | |
parent | 18e606275691726cce06ad803072ac54315740f7 (diff) | |
download | op-kernel-dev-7d4f606c50ffaaa3ac60b7faf770dc6e84af3207.zip op-kernel-dev-7d4f606c50ffaaa3ac60b7faf770dc6e84af3207.tar.gz |
ALSA: hda - WAKEEN feature enabling for runtime pm
With runtime power save feature enabled, Headphone hotplug
event will not be detected while controller/codec in D3. HDA has
feature WAKEEN to let codec wake up system if controller is in D3 or
system in S3.(HDA Spec 4.5.9.2/3). Codec can send out INT or wake up
controller depending on whether CIE or GIE enabled.(Figure 4, Interupt
structure).
The controller must be in RESET mode after enter runtime-suspend, otherwise
it will not be waken up even if codec send out wake-up event. And STATESTS
will be cleared after controller brought out of RESET mode.
This patch only enable WAKEEN for runtime-suspend(Controller D3) mode,
not for system S3 mode. with tool "evtest", Headphone hotplug events
could be cought and reported successfully.
[fixed an unused variable warning by tiwai]
Signed-off-by: Wang Xingchao <xingchao.wang@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/sound')
0 files changed, 0 insertions, 0 deletions