Add patches for Ideapad RF switches (rhbz 1192270)

Also fix a few typos in the last changelog
This commit is contained in:
Laura Abbott 2015-07-22 12:28:50 -07:00
parent 740bc085d1
commit aeb4869c0c
2 changed files with 49 additions and 2 deletions

View File

@ -0,0 +1,38 @@
From 59637d194abb34c4ed0368b1614494e1f5f72bda Mon Sep 17 00:00:00 2001
From: Dmitry Tunin <hanipouspilot@gmail.com>
Date: Sun, 18 Jan 2015 15:44:40 +0300
Subject: [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill reports wireless
blocked
Lenovo G30-50 does not have a hardware wireless switch and wireless
is always blocked.
BugLink: https://bugs.launchpad.net/bugs/1397021
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
[dvhart@linux.intel.com: Reordered dmi id per Phillippe's later version]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
drivers/platform/x86/ideapad-laptop.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index b496db8..c98f885 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -834,6 +834,11 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G40-30"),
+ },
+ .ident = "Lenovo G50-30",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
},
},
{
--
2.4.3

View File

@ -625,6 +625,9 @@ Patch26231: kvm-x86-fix-kvm_apic_has_events-to-check-for-NULL-po.patch
# rhbz 1227891
Patch26250: HID-rmi-Disable-populating-F30-when-the-touchpad-has.patch
# rhbz 1192270
Patch26251: ideapad_laptop-Lenovo-G50-30-fix-rfkill-reports-wire.patch
# END OF PATCH DEFINITIONS
%endif
@ -1368,6 +1371,9 @@ ApplyPatch kvm-x86-fix-kvm_apic_has_events-to-check-for-NULL-po.patch
#rhbz 1227891
ApplyPatch HID-rmi-Disable-populating-F30-when-the-touchpad-has.patch
# rhbz 1192270
ApplyPatch ideapad_laptop-Lenovo-G50-30-fix-rfkill-reports-wire.patch
# END OF PATCH APPLICATIONS
%endif
@ -2218,8 +2224,11 @@ fi
#
#
%changelog
* Wed Jul 22 2015 Laur Abbott <labbott@fedoraproject.org> - 4.1.3-200
* Linux v4.1.3
* Wed Jul 22 2015 Laura Abbott <labbott@fedoraproject.org> - 4.1.3-200
- Add patches for Ideapad RF switches (rhbz 1192270)
* Wed Jul 22 2015 Laura Abbott <labbott@fedoraproject.org>
- Linux v4.1.3
* Wed Jul 15 2015 Laura Abbott <labbott@fedoraproject.org> - 4.1.2-200
- Linux v4.1.2 rebase