diff mbox

[v5,1/1] ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list

Message ID Pine.NEB.4.64.1602222121540.15286@norge.freeshell.org (mailing list archive)
State Changes Requested, archived
Headers show

Commit Message

John Dahlstrom Feb. 23, 2016, 3:49 a.m. UTC
Some Lenovo ideapad models lack a physical rfkill switch.
On Lenovo models ideapad Y700 Touch-15ISK and ideapad Y700-15ISK,
ideapad-laptop would wrongly report all radios as blocked by
hardware which caused wireless network connections to fail.

Add these models without an rfkill switch to the no_hw_rfkill list.

Signed-off-by: John Dahlstrom <jodarom@sdf.org>
Cc: <stable@vger.kernel.org> # 3.18.x-: 4fa9dab: ideapad_laptop: Lenovo G50-30 fix rfkill reports wireless blocked
---
   Test configuration
    Hardware: Lenovo ideapad Y700 Touch-15ISK
    Kernel version: 4.4.2

   Patch changelog
    v2 split patch between Touch and non-Touch devices
    v3 undo patch split and limit summary to 72 characters
    v4 include comprehensive list of patchable kernels in Cc
    v5 include commit ID of the prerequisite patch in Cc

   drivers/platform/x86/ideapad-laptop.c |   14 ++++++++++++++
   1 file changed, 14 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/platform/x86/ideapad-laptop.c	2016-02-14 15:05:20.000000000 -0600
+++ b/drivers/platform/x86/ideapad-laptop.c	2016-02-16 03:54:48.484423725 -0600
@@ -864,4 +864,18 @@  static const struct dmi_system_id no_hw_rfkill_list[] = {
  			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
  		},
+	},
+	{
+		.ident = "Lenovo ideapad Y700-15ISK",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ISK"),
+		},
+	},
+	{
+		.ident = "Lenovo ideapad Y700 Touch-15ISK",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700 Touch-15ISK"),
+		},
  	},
  	{