diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-05-23 10:11:26 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-05-27 09:56:20 -0400 |
commit | 6938d6b2a90d5e2ffaef037852652a1333502519 (patch) | |
tree | f59b0abe85cc88627ce1a93c54e5c2c7beb05340 /sound/drivers | |
parent | 89fe5117928b2c1272c9376362131ded561c91ad (diff) |
[ALSA] Fix AC97 kconfig items
The kconfig items related with AC97-powersave must be outside the
CONFIG_SND_PCI range. And it'd be better together with CONFIG_SND_AC97.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig index 79b4d3f25665..255fd18b9aec 100644 --- a/sound/drivers/Kconfig +++ b/sound/drivers/Kconfig | |||
@@ -161,4 +161,25 @@ config SND_ML403_AC97CR | |||
161 | To compile this driver as a module, choose M here: the module | 161 | To compile this driver as a module, choose M here: the module |
162 | will be called snd-ml403_ac97cr. | 162 | will be called snd-ml403_ac97cr. |
163 | 163 | ||
164 | config SND_AC97_POWER_SAVE | ||
165 | bool "AC97 Power-Saving Mode" | ||
166 | depends on SND_AC97_CODEC && EXPERIMENTAL | ||
167 | default n | ||
168 | help | ||
169 | Say Y here to enable the aggressive power-saving support of | ||
170 | AC97 codecs. In this mode, the power-mode is dynamically | ||
171 | controlled at each open/close. | ||
172 | |||
173 | The mode is activated by passing power_save=1 option to | ||
174 | snd-ac97-codec driver. You can toggle it dynamically over | ||
175 | sysfs, too. | ||
176 | |||
177 | config SND_AC97_POWER_SAVE_DEFAULT | ||
178 | int "Default time-out for AC97 power-save mode" | ||
179 | depends on SND_AC97_POWER_SAVE | ||
180 | default 0 | ||
181 | help | ||
182 | The default time-out value in seconds for AC97 automatic | ||
183 | power-save mode. 0 means to disable the power-save mode. | ||
184 | |||
164 | endif # SND_DRIVERS | 185 | endif # SND_DRIVERS |