diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-06-27 12:28:53 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 04:37:08 -0400 |
commit | 6dbe662874ba08585eaf732d126762c25ac8e3f7 (patch) | |
tree | 7460c36d4d848f223b682f7a700866bcf6dbc7d5 /sound/drivers | |
parent | 2b29b13c5794f648cd5e839796496704d787f5a6 (diff) |
[ALSA] Add experimental support of aggressive AC97 power-saving mode
Added CONFIG_SND_AC97_POWER_SAVE kernel config to enable the support
of aggressive AC97 power-saving mode. In this mode, the AC97
powerdown register bits are dynamically controlled at each open/close
of PCM streams.
The mode is activated via power_save option for snd-ac97-codec
driver. As default it's off. It can be turned on/off on the fly
via sysfs, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig index 395c4ef52ac9..897dc2dfd7dd 100644 --- a/sound/drivers/Kconfig +++ b/sound/drivers/Kconfig | |||
@@ -100,4 +100,17 @@ config SND_MPU401 | |||
100 | To compile this driver as a module, choose M here: the module | 100 | To compile this driver as a module, choose M here: the module |
101 | will be called snd-mpu401. | 101 | will be called snd-mpu401. |
102 | 102 | ||
103 | config SND_AC97_POWER_SAVE | ||
104 | bool "AC97 Power-Saving Mode" | ||
105 | depends on SND_AC97_CODEC && EXPERIMENTAL | ||
106 | default n | ||
107 | help | ||
108 | Say Y here to enable the aggressive power-saving support of | ||
109 | AC97 codecs. In this mode, the power-mode is dynamically | ||
110 | controlled at each open/close. | ||
111 | |||
112 | The mode is activated by passing power_save=1 option to | ||
113 | snd-ac97-codec driver. You can toggle it dynamically over | ||
114 | sysfs, too. | ||
115 | |||
103 | endmenu | 116 | endmenu |