summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-06-08 14:47:26 -0400
committerChase Douglas <chase.douglas@canonical.com>2010-06-09 10:35:56 -0400
commitc97842b99029e81c138744f34f05746e7309a611 (patch)
treedf4eebaee6f4919e5b318529823e314056f61d09 /pm
parente2ea60907ca2b30e1ac5744d3e17dff16ed910ce (diff)
Fix audio powersave script to look for snd_* modules
Without this change the snd_hda_intel module is skipped. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'pm')
-rw-r--r--pm/power.d/intel-audio-powersave4
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/power.d/intel-audio-powersave b/pm/power.d/intel-audio-powersave
index 2bf0a51..0e7eab7 100644
--- a/pm/power.d/intel-audio-powersave
+++ b/pm/power.d/intel-audio-powersave
@@ -19,7 +19,7 @@ EOF
}
audio_powersave() {
- for dev in /sys/module/snd_*_codec/parameters/power_save; do
+ for dev in /sys/module/snd_*/parameters/power_save; do
[ -w $dev ] && [ "$INTEL_AUDIO_POWERSAVE" = "true" ] && echo $1 > $dev
done
}
@@ -31,4 +31,4 @@ case $1 in
*) exit $NA
esac
-exit 0 \ No newline at end of file
+exit 0