Revert "ACPI / video: change acpi-video brightness_switch_enabled default to 0"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Jul 2014 17:35:45 +0000 (19:35 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Jul 2014 18:10:27 +0000 (20:10 +0200)
This reverts commit 886129a8eebeb (ACPI / video: change acpi-video
brightness_switch_enabled default to 0) as it is reported to cause
problems to happen.

Fixes: 886129a8eebeb (ACPI / video: change acpi-video brightness_switch_enabled default to 0)
Link: http://marc.info/?l=linux-acpi&m=140534286826819&w=2
Reported by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/kernel-parameters.txt
drivers/acpi/video.c

index c1b9aa8c5a52e807e6458d40d96d4f1bc91f107b..e332e718cad64e4a627445ef0e80cfa82bfd1eb6 100644 (file)
@@ -3526,7 +3526,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
                        the allocated input device; If set to 0, video driver
                        will only send out the event without touching backlight
                        brightness level.
-                       default: 0
+                       default: 1
 
        virtio_mmio.device=
                        [VMMIO] Memory mapped virtio (platform) device.
index 071c1dfb93f3b5a7480133f0bdead2e9009ccb4f..29649c1948860a868f8f976efc0a980ce54f6b5f 100644 (file)
@@ -68,7 +68,7 @@ MODULE_AUTHOR("Bruno Ducrot");
 MODULE_DESCRIPTION("ACPI Video Driver");
 MODULE_LICENSE("GPL");
 
-static bool brightness_switch_enabled;
+static bool brightness_switch_enabled = 1;
 module_param(brightness_switch_enabled, bool, 0644);
 
 /*
This page took 0.032177 seconds and 5 git commands to generate.