From patchwork Sat Jul 1 06:20:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 9820729 X-Patchwork-Delegate: andy.shevchenko@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7F4E460375 for ; Sat, 1 Jul 2017 06:27:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64B7228511 for ; Sat, 1 Jul 2017 06:27:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40E0728637; Sat, 1 Jul 2017 06:27:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C69528511 for ; Sat, 1 Jul 2017 06:27:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751588AbdGAG1U (ORCPT ); Sat, 1 Jul 2017 02:27:20 -0400 Received: from narfation.org ([79.140.41.39]:43224 "EHLO v3-1039.vlinux.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751563AbdGAG1U (ORCPT ); Sat, 1 Jul 2017 02:27:20 -0400 X-Greylist: delayed 409 seconds by postgrey-1.27 at vger.kernel.org; Sat, 01 Jul 2017 02:27:19 EDT Received: from sven-desktop.home.narfation.org (unknown [IPv6:2a00:c1a0:c0cc:be00:6a17:29ff:fee0:e6ec]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 88BEC1100CB; Sat, 1 Jul 2017 08:20:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1498890028; bh=XA+OduqYzJOlw47SUet34PeIrxIhwmv6R6s76NbrfHU=; h=From:To:Cc:Subject:Date:From; b=SxvlC694QeKAjIvoM26cQ7m4cyaGAQoBF8OzCjy0qBE7LoSCkYfEE3J+ie+tcwU0F JAKjPjpOOzpHGfqI7sr2C3yYri6mpoJr9sLEbgIab2l2fpkX2l9ytMs5QKe4EpwDE2 OrvblJcPS/2FkpH7B79GSwGDb2cB2A4NB86u/qx0= From: Sven Eckelmann To: platform-driver-x86@vger.kernel.org Cc: Andy Shevchenko , Darren Hart , Ike Panhc , Sven Eckelmann Subject: [PATCH] platform/x86: ideapad-laptop: Add IdeaPad V510-15IKB to no_hw_rfkill Date: Sat, 1 Jul 2017 08:20:18 +0200 Message-Id: <20170701062018.6493-1-sven@narfation.org> X-Mailer: git-send-email 2.11.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Like other Lenovo models the IdeaPad V510-15IKB does not have an hw rfkill switch. This results in hard-blocked radios after boot, resulting in always blocked radios rendering them unusable. Add the IdeaPad V510-15IKB to the no_hw_rfkill DMI list and allows using the built-in radios. Signed-off-by: Sven Eckelmann --- Commit message "borrowed" from ccc7179f4d94 ("platform/x86: ideapad-laptop: Add IdeaPad V310-15ISK to no_hw_rfkill") 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 527e5d9ab9bf..f23e4ad7c564 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -916,6 +916,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { }, }, { + .ident = "Lenovo V510-15IKB", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo V510-15IKB"), + }, + }, + { .ident = "Lenovo ideapad 310-15IKB", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),