diff options
author | Hector Martin <hector@marcansoft.com> | 2009-12-20 22:51:31 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-21 11:20:29 +0100 |
commit | f5de24b06aa46427500d0fdbe8616b73a71d8c28 (patch) | |
tree | 97ce905a10b013357df2abf716af2e3795efa55e /sound/soc/s3c24xx/s3c24xx-i2s.c | |
parent | 556eea9a926bff8f014b4f80522b4de97ae84213 (diff) |
ALSA: HDA: add powersaving hook for Realtek
The current Realtek code makes no specific provision for turning stuff
off. The codec chip is placed into low-power mode generically, but this
doesn't turn off any external hardware connected to it, in particular
external amplifiers.
This patch creates a hook function that is called by the codec
suspend/resume functions. It ought to disable any external hardware in a
device-specific way. I've implemented a generic ALC889 function that
sets the EAPD pin properly, and used it for the Acer Aspire 8930G which
can benefit from this feature.
On my laptop, this results in ~0.5W extra savings.
Signed-off-by: Hector Martin <hector@marcansoft.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/s3c24xx/s3c24xx-i2s.c')
0 files changed, 0 insertions, 0 deletions