Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1826609imm; Mon, 3 Sep 2018 10:26:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZgBR2pUwzDO75abedpxWN696x7+mDVCKkEvaIeIXLO/MuuBn4aSvWnq0M3ArP9CYTOMsmi X-Received: by 2002:a63:ad07:: with SMTP id g7-v6mr27368423pgf.19.1535995587628; Mon, 03 Sep 2018 10:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995587; cv=none; d=google.com; s=arc-20160816; b=wBVgEgdf7Hf72Fb6DrVq2AHjDW+Qqf3W3H+2ZBihLzjqD2CxbPVWagFaD9V2V/icK4 5e64l65S0clElgRaJelgROkdEmPWhPRF8qyAOARmSxdIQmqLiaLFmXLCsT+lyga6p5AQ 9HMx8LU5+Jva4EsH7uKL+YkfmqjthXy9KshkKOU2Umzg2MHqMcUWyv8cXaKr8+cZzBnH kj+wfXtIHziYTEJ9mV04d4El27b9O13ZJi7m8cSdJkb9mZgLzXIsU1GZC7LH9zJvVAcc pKHzd28k6EHeCDo6upv1Lhiq7+y0KZSrhZUMYUBCtbYxs3HaKBDKyRdGEKkSBCMNq/iP lO1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=J56sdyUA/Qnz7DrQeKFljvXA/x7HWr43jmVGoLvV8xo=; b=shTU5lDmsUvVIpySXkTwL82f0eQh2XDnRNPvmY8YLlePenUYquYuuA7zsl0EKptQvS M8TlqBI4LaxVS/MbcCeE7loaXXQ/3H7egD0BOmFaogwi0cIOXZxTFnnZRYFGCYD0X0Yk vigWWQDHncMIjv1cdMBzoEpJleXGFw/r/5S9FC5otKxWPF0OmxEnabuVIYuwCz0HYrZp 0BJAo/M7JRVSsEHkIvHPza9g1UAHLztaoXTvLPPcBDuJHTAFphzH3d/L55NBYv2vQADs F3BAROCLFRzghi+15KrbXkUElLQmgjsgYHVWhrJ1jS4irJv4lhkftnArKV2p14jrhaN1 QdCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g6-v6si16616323pgq.240.2018.09.03.10.26.12; Mon, 03 Sep 2018 10:26:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730561AbeICVpt (ORCPT + 99 others); Mon, 3 Sep 2018 17:45:49 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45562 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728935AbeICVps (ORCPT ); Mon, 3 Sep 2018 17:45:48 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3FF06D24; Mon, 3 Sep 2018 17:24:41 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai , "Darren Hart (VMware)" Subject: [PATCH 4.14 109/165] platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too Date: Mon, 3 Sep 2018 18:56:35 +0200 Message-Id: <20180903165700.987670723@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165655.003605184@linuxfoundation.org> References: <20180903165655.003605184@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takashi Iwai commit 58e73aa177850babb947555257fd4f79e5275cf1 upstream. The commit 5d9f40b56630 ("platform/x86: ideapad-laptop: Add Y520-15IKBN to no_hw_rfkill") added the entry for Y20-15IKBN, and it turned out that another variant, Y20-15IKBM, also requires the no_hw_rfkill. Trim the last letter from the string so that it matches to both Y20-15IKBN and Y20-15IKBM models. Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1098626 Cc: Signed-off-by: Takashi Iwai Signed-off-by: Darren Hart (VMware) Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/ideapad-laptop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -1097,10 +1097,10 @@ static const struct dmi_system_id no_hw_ }, }, { - .ident = "Lenovo Legion Y520-15IKBN", + .ident = "Lenovo Legion Y520-15IKB", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKB"), }, }, {