[ALSA] Add default values for power-saving as Kconfig options
[firefly-linux-kernel-4.4.55.git] / sound / pci / ac97 / ac97_codec.c
index 3e5ff29fc4991e1eacf05d82f57ea047fb229a70..0906f1717f2b6760126e6d9cb539a6e8a69ea7a6 100644 (file)
@@ -49,7 +49,7 @@ module_param(enable_loopback, bool, 0444);
 MODULE_PARM_DESC(enable_loopback, "Enable AC97 ADC/DAC Loopback Control");
 
 #ifdef CONFIG_SND_AC97_POWER_SAVE
-static int power_save;
+static int power_save = CONFIG_SND_AC97_POWER_SAVE_DEFAULT;
 module_param(power_save, bool, 0644);
 MODULE_PARM_DESC(power_save, "Enable AC97 power-saving control");
 #endif