diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 20:07:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 20:07:31 -0400 |
commit | faa38b5e0e092914764cdba9f83d31a3f794d182 (patch) | |
tree | b3e5921bdc36378033b4910eb4f29cb0dfc486e0 /sound/drivers | |
parent | 78417334b5cb6e1f915b8fdcc4fce3f1a1b4420c (diff) | |
parent | 74bf40f0793fed9e01eb6164c2ce63e8c27ca205 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (214 commits)
ALSA: hda - Add pin-fix for HP dc5750
ALSA: als4000: Fix potentially invalid DMA mode setup
ALSA: als4000: enable burst mode
ALSA: hda - Fix initial capsrc selection in patch_alc269()
ASoC: TWL4030: Capture route runtime DAPM ordering fix
ALSA: hda - Add PC-beep whitelist for an Intel board
ALSA: hda - More relax for pending period handling
ALSA: hda - Define AC_FMT_* constants
ALSA: hda - Fix beep frequency on IDT 92HD73xx and 92HD71Bxx codecs
ALSA: hda - Add support for HDMI HBR passthrough
ALSA: hda - Set Stream Type in Stream Format according to AES0
ALSA: hda - Fix Thinkpad X300 so SPDIF is not exposed
ALSA: hda - FIX to not expose SPDIF on Thinkpad X301, since it does not have the ability to use SPDIF
ASoC: wm9081: fix resource reclaim in wm9081_register error path
ASoC: wm8978: fix a memory leak if a wm8978_register fail
ASoC: wm8974: fix a memory leak if another WM8974 is registered
ASoC: wm8961: fix resource reclaim in wm8961_register error path
ASoC: wm8955: fix resource reclaim in wm8955_register error path
ASoC: wm8940: fix a memory leak if wm8940_register return error
ASoC: wm8904: fix resource reclaim in wm8904_register error path
...
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/Kconfig | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig index c290cee4cee8..480c38623da8 100644 --- a/sound/drivers/Kconfig +++ b/sound/drivers/Kconfig | |||
@@ -170,9 +170,25 @@ config SND_AC97_POWER_SAVE | |||
170 | AC97 codecs. In this mode, the power-mode is dynamically | 170 | AC97 codecs. In this mode, the power-mode is dynamically |
171 | controlled at each open/close. | 171 | controlled at each open/close. |
172 | 172 | ||
173 | The mode is activated by passing power_save=1 option to | 173 | The mode is activated by passing 'power_save=X' to the |
174 | snd-ac97-codec driver. You can toggle it dynamically over | 174 | snd-ac97-codec driver module, where 'X' is the time-out |
175 | sysfs, too. | 175 | value, a nonnegative integer that specifies how many |
176 | seconds of idle time the driver must count before it may | ||
177 | put the AC97 into power-save mode; a value of 0 (zero) | ||
178 | disables the use of this power-save mode. | ||
179 | |||
180 | After the snd-ac97-codec driver module has been loaded, | ||
181 | the 'power_save' parameter can be set via sysfs as follows: | ||
182 | |||
183 | echo 10 > /sys/module/snd_ac97_codec/parameters/power_save | ||
184 | |||
185 | In this case, the time-out is set to 10 seconds; setting | ||
186 | the time-out to 1 second (the minimum activation value) | ||
187 | isn't recommended because many applications try to reopen | ||
188 | the device frequently. A value of 10 seconds would be a | ||
189 | good choice for normal operations. | ||
190 | |||
191 | See Documentation/sound/alsa/powersave.txt for more details. | ||
176 | 192 | ||
177 | config SND_AC97_POWER_SAVE_DEFAULT | 193 | config SND_AC97_POWER_SAVE_DEFAULT |
178 | int "Default time-out for AC97 power-save mode" | 194 | int "Default time-out for AC97 power-save mode" |
@@ -182,4 +198,6 @@ config SND_AC97_POWER_SAVE_DEFAULT | |||
182 | The default time-out value in seconds for AC97 automatic | 198 | The default time-out value in seconds for AC97 automatic |
183 | power-save mode. 0 means to disable the power-save mode. | 199 | power-save mode. 0 means to disable the power-save mode. |
184 | 200 | ||
201 | See SND_AC97_POWER_SAVE for more details. | ||
202 | |||
185 | endif # SND_DRIVERS | 203 | endif # SND_DRIVERS |