summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-06-16 14:57:18 +0000
committerThierry Vignaud <tv@mandriva.org>2008-06-16 14:57:18 +0000
commitee7ce8fbf40e625929f53a4e1cb103d23baf2447 (patch)
tree1b597f20dc03cfd9f174b6628e30d34800b93c61
parent385339bf2e3e5a473308806d38db8d178af766a8 (diff)
downloaddrakx-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar
drakx-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar.gz
drakx-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar.bz2
drakx-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar.xz
drakx-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.zip
(configure_one_sound_slot) do not set snd-ac97-codec's "power_save=1"
options on MIPS
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/harddrake/sound.pm3
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c04acb4f8..70d131753 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- draksound:
+ o do not set snd-ac97-codec's "power_save=1" options on MIPS
+
Version 10.34 - 12 June 2008
- partitioning wizard:
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 41084a1c3..e98ffdd5c 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -502,7 +502,8 @@ sub configure_one_sound_slot {
my ($modules_conf, $index, $driver) = @_;
$modules_conf->set_sound_slot("sound-slot-$index", $driver);
$modules_conf->set_options($driver, "xbox=1") if $driver eq "snd_intel8x0" && detect_devices::is_xbox();
- $modules_conf->set_options('snd-ac97-codec', "power_save=1") if $driver =~ /^snd/ && detect_devices::isLaptop();
+ $modules_conf->set_options('snd-ac97-codec', "power_save=1") if $driver =~ /^snd/ && detect_devices::isLaptop()
+ && arch() !~ /mips/;
}
sub configure_sound_slots {