aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-05-23 10:11:26 -0400
committerTakashi Iwai <tiwai@suse.de>2008-05-27 09:56:20 -0400
commit6938d6b2a90d5e2ffaef037852652a1333502519 (patch)
treef59b0abe85cc88627ce1a93c54e5c2c7beb05340
parent89fe5117928b2c1272c9376362131ded561c91ad (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>
-rw-r--r--sound/drivers/Kconfig21
-rw-r--r--sound/pci/Kconfig21
2 files changed, 21 insertions, 21 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
164config 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
177config 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
164endif # SND_DRIVERS 185endif # SND_DRIVERS
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig
index b148c0b3ef3f..8fe5dac39428 100644
--- a/sound/pci/Kconfig
+++ b/sound/pci/Kconfig
@@ -901,25 +901,4 @@ config SND_YMFPCI_FIRMWARE_IN_KERNEL
901 for the YMFPCI driver. If you choose N here, you need to 901 for the YMFPCI driver. If you choose N here, you need to
902 install the firmware files from the alsa-firmware package. 902 install the firmware files from the alsa-firmware package.
903 903
904config SND_AC97_POWER_SAVE
905 bool "AC97 Power-Saving Mode"
906 depends on SND_AC97_CODEC && EXPERIMENTAL
907 default n
908 help
909 Say Y here to enable the aggressive power-saving support of
910 AC97 codecs. In this mode, the power-mode is dynamically
911 controlled at each open/close.
912
913 The mode is activated by passing power_save=1 option to
914 snd-ac97-codec driver. You can toggle it dynamically over
915 sysfs, too.
916
917config SND_AC97_POWER_SAVE_DEFAULT
918 int "Default time-out for AC97 power-save mode"
919 depends on SND_AC97_POWER_SAVE
920 default 0
921 help
922 The default time-out value in seconds for AC97 automatic
923 power-save mode. 0 means to disable the power-save mode.
924
925endif # SND_PCI 904endif # SND_PCI