summaryrefslogtreecommitdiff
path: root/sound/pci/Kconfig
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-09-17 21:07:46 +0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 18:50:51 +0400
commit7a5a27cfaedf8589600b7ae585f3ca42b2d3c78a (patch)
treedc93b1d409d338e53518e79576c0e679df98d9cc /sound/pci/Kconfig
parentec1e7949327a709c83fc7338f89a8c2d1f978fa9 (diff)
downloadlinux-7a5a27cfaedf8589600b7ae585f3ca42b2d3c78a.tar.xz
[ALSA] Add default values for power-saving as Kconfig options
Added CONFIG_SND_AC97_POWER_SAVE_DEFAULT and CONFIG_SND_HDA_POWER_SAVE_DEFAULT Kconfig options as the default values for power-saving mode of AC97 and HD-audio drivers, respectively. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/Kconfig')
-rw-r--r--sound/pci/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig
index 5d0732c09f2e..2c6486c23a52 100644
--- a/sound/pci/Kconfig
+++ b/sound/pci/Kconfig
@@ -589,6 +589,14 @@ config SND_HDA_POWER_SAVE
HD-audio driver. The power-saving timeout can be configured
via power_save option or over sysfs on-the-fly.
+config SND_HDA_POWER_SAVE_DEFAULT
+ int "Default time-out for HD-audio power-save mode"
+ depends on SND_HDA_POWER_SAVE
+ default 0
+ help
+ The default time-out value in seconds for HD-audio automatic
+ power-save mode. 0 means to disable the power-save mode.
+
config SND_HDSP
tristate "RME Hammerfall DSP Audio"
depends on SND
@@ -888,4 +896,11 @@ config SND_AC97_POWER_SAVE
snd-ac97-codec driver. You can toggle it dynamically over
sysfs, too.
+config SND_AC97_POWER_SAVE_DEFAULT
+ int "Default time-out for AC97 power-save mode"
+ depends on SND_AC97_POWER_SAVE
+ default 0
+ The default time-out value in seconds for AC97 automatic
+ power-save mode. 0 means to disable the power-save mode.
+
endmenu