Drop acpi_brightness_enable revert patch

https://lists.fedoraproject.org/pipermail/kernel/2015-July/005958.html
This commit is contained in:
Josh Boyer 2015-07-29 11:24:48 -04:00
parent 31ac9aaba9
commit e3ed546de8
2 changed files with 3 additions and 44 deletions

View File

@ -1,42 +0,0 @@
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.
Bugzilla: N/A
Upstream-status: Sigh. We almost got to drop this.
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
---
Documentation/kernel-parameters.txt | 2 +-
drivers/acpi/acpi_video.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 1d6f0459cd7b..ce09881b7c0a 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -3929,7 +3929,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: 1
+ default: 0
virtio_mmio.device=
[VMMIO] Memory mapped virtio (platform) device.
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c
index 8c2fe2f2f9fd..6021e67be1f7 100644
--- a/drivers/acpi/acpi_video.c
+++ b/drivers/acpi/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);
/*

View File

@ -506,8 +506,6 @@ Patch457: ARM-tegra-usb-no-reset.patch
Patch463: arm-i.MX6-Utilite-device-dtb.patch
Patch465: Revert-Revert-ACPI-video-change-acpi-video-brightnes.patch
Patch466: input-kill-stupid-messages.patch
Patch467: die-floppy-die.patch
@ -2021,6 +2019,9 @@ fi
#
#
%changelog
* Wed Jul 29 2015 Josh Boyer <jwboyer@fedoraproject.org>
- Drop acpi_brightness_enable revert patch
* Tue Jul 28 2015 Josh Boyer <jwboyer@fedoraproject.org> - 4.2.0-0.rc4.git1.1
- Linux v4.2-rc4-44-g67eb890e5e13