From patchwork Sun Jan 24 15:46:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Boyer X-Patchwork-Id: 8100701 Return-Path: X-Original-To: patchwork-platform-driver-x86@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 07B559F6DA for ; Sun, 24 Jan 2016 15:46:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 327D02038A for ; Sun, 24 Jan 2016 15:46:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A4142038D for ; Sun, 24 Jan 2016 15:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbcAXPqw (ORCPT ); Sun, 24 Jan 2016 10:46:52 -0500 Received: from mail-yk0-f195.google.com ([209.85.160.195]:36114 "EHLO mail-yk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750924AbcAXPqv (ORCPT ); Sun, 24 Jan 2016 10:46:51 -0500 Received: by mail-yk0-f195.google.com with SMTP id k129so10052588yke.3; Sun, 24 Jan 2016 07:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=IJoQstsRpNT/8HBFbpt3mQRIW67sG3BN+TFBcXzW3CE=; b=VGm8X8O7IHW9aydVwENbI6cUJauhwZOUSwxLqPmutyoFGRWmZ95mZGtJt2+9G+a7vk VD6gCjHZl67u0n830GHyTP87Ar/ATGwr9wIdiNiBTb35Ei4LQuqYrSNDiIJApeZfgkTp SMNaAK8gH2LnXIYVNozfKj+FQiqo7BEcMfFM8y54eF9K5V6LqUSw6fcowqsNtBSptLqt lCT10lt+TINy62IDSRSwxkvG5OJpznfMH7T9MYdHyVPRBmd3DXkFv64IIIpbCOkEefgS LQdwEncjxi0br51GcMXICgswcDsaGw0Jzl2AYiMZZ+sG2rYXfwkzVepR72gCvSJw3fbH rYDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=IJoQstsRpNT/8HBFbpt3mQRIW67sG3BN+TFBcXzW3CE=; b=LfGtHL/j8k+QY7rlU8Rf6wdkx6dJAR0OX2osgLwgYUcmBTOACgHZ4bWBchb+i2+oBg Lg5uULbcAIUG7tY7NSvaVooJRi3ymkfUL+wFCbyrvVuOZffEbqfdQK1tB/bTs35Nqzmt nmWJK5TMStjC/dbNny5oGE+A1MEYM8twLx6Bw1osRG7IJWf8a+gIbyr4aHHdhN6e2Dzg 8wQwB9bEn2nMM+pN6Hwf/0b0swwRPNHDlHVt6ctfBEvKVgNaX7Xk8TNzgiXxy3D5Ndvh nc6y+hWj3SAZrauLN7fBvKY5Rpsva39gDGGy7HQaWi73opzSZfULOwBz4rUsEGoXkX90 Vz/Q== X-Gm-Message-State: AG10YOR5TEqGAY6HnubtuosFrhh7EquEdr8NIjbzUQP9eCc+Fh7tSFcjBYLkYjHEY0LYKA== X-Received: by 10.129.36.7 with SMTP id k7mr6567329ywk.186.1453650410648; Sun, 24 Jan 2016 07:46:50 -0800 (PST) Received: from vader.localdomain (24-247-106-71.dhcp.aldl.mi.charter.com. [24.247.106.71]) by smtp.gmail.com with ESMTPSA id x64sm11047907ywe.31.2016.01.24.07.46.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jan 2016 07:46:49 -0800 (PST) From: Josh Boyer To: Darren Hart , Ike Panhc Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v2] ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list Date: Sun, 24 Jan 2016 10:46:42 -0500 Message-Id: <1453650402-12805-1-git-send-email-jwboyer@fedoraproject.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453145573-15600-1-git-send-email-jwboyer@fedoraproject.org> References: <1453145573-15600-1-git-send-email-jwboyer@fedoraproject.org> Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Like the Yoga 900 models the Lenovo Yoga 700 does not have a hw rfkill switch, and trying to read the hw rfkill switch through the ideapad module causes it to always reported blocking breaking wifi. This commit adds the Lenovo Yoga 700 to the no_hw_rfkill dmi list, fixing the wifi breakage. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1295272 Tested-by: Cc: stable@vger.kernel.org Signed-off-by: Josh Boyer --- v2: Fix Lenogo typo in ident structure member drivers/platform/x86/ideapad-laptop.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index d28db0e793df..d78ee151c9e4 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { }, }, { + .ident = "Lenovo Yoga 700", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 700"), + }, + }, + { .ident = "Lenovo Yoga 900", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),