summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
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 /perl-install/harddrake
parent385339bf2e3e5a473308806d38db8d178af766a8 (diff)
downloaddrakx-backup-do-not-use-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar
drakx-backup-do-not-use-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar.gz
drakx-backup-do-not-use-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar.bz2
drakx-backup-do-not-use-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.tar.xz
drakx-backup-do-not-use-ee7ce8fbf40e625929f53a4e1cb103d23baf2447.zip
(configure_one_sound_slot) do not set snd-ac97-codec's "power_save=1"
options on MIPS
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm3
1 files changed, 2 insertions, 1 deletions
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 {