From ee7ce8fbf40e625929f53a4e1cb103d23baf2447 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Jun 2008 14:57:18 +0000 Subject: (configure_one_sound_slot) do not set snd-ac97-codec's "power_save=1" options on MIPS --- perl-install/harddrake/sound.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/harddrake') 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 { -- cgit v1.2.1