2014-07-28 17:04:55 +00:00
|
|
|
From: Josh Boyer <jwboyer@fedoraproject.org>
|
|
|
|
Date: Mon, 28 Jul 2014 12:59:48 -0400
|
|
|
|
Subject: [PATCH] Revert "Revert "ACPI / video: change acpi-video
|
|
|
|
brightness_switch_enabled default to 0""
|
|
|
|
|
|
|
|
This reverts commit 2843768b701971ab10e62c77d5c75ad7c306f1bd.
|
2014-08-20 17:22:24 +00:00
|
|
|
|
|
|
|
Bugzilla: N/A
|
|
|
|
Upstream-status: Sigh. We almost got to drop this.
|
|
|
|
|
|
|
|
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
|
2014-07-28 17:04:55 +00:00
|
|
|
---
|
|
|
|
Documentation/kernel-parameters.txt | 2 +-
|
|
|
|
drivers/acpi/video.c | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
|
2015-05-01 13:00:22 +00:00
|
|
|
index 61ab1628a057..8a62b65a7597 100644
|
2014-07-28 17:04:55 +00:00
|
|
|
--- a/Documentation/kernel-parameters.txt
|
|
|
|
+++ b/Documentation/kernel-parameters.txt
|
2015-05-01 13:00:22 +00:00
|
|
|
@@ -3865,7 +3865,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
|
2014-07-28 17:04:55 +00:00
|
|
|
the allocated input device; If set to 0, video driver
|
|
|
|
will only send out the event without touching backlight
|
|
|
|
brightness level.
|
|
|
|
- default: 1
|
|
|
|
+ default: 0
|
|
|
|
|
|
|
|
virtio_mmio.device=
|
|
|
|
[VMMIO] Memory mapped virtio (platform) device.
|
|
|
|
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
|
2015-04-15 14:47:18 +00:00
|
|
|
index cc79d3fedfb2..d9bf8ba7d848 100644
|
2014-07-28 17:04:55 +00:00
|
|
|
--- a/drivers/acpi/video.c
|
|
|
|
+++ b/drivers/acpi/video.c
|
|
|
|
@@ -68,7 +68,7 @@ MODULE_AUTHOR("Bruno Ducrot");
|
|
|
|
MODULE_DESCRIPTION("ACPI Video Driver");
|
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
|
|
|
|
-static bool brightness_switch_enabled = 1;
|
|
|
|
+static bool brightness_switch_enabled;
|
|
|
|
module_param(brightness_switch_enabled, bool, 0644);
|
|
|
|
|
|
|
|
/*
|
|
|
|
--
|
2014-12-09 14:25:39 +00:00
|
|
|
2.1.0
|
2014-07-28 17:04:55 +00:00
|
|
|
|