Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1833199imm; Mon, 3 Sep 2018 10:36:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbC+bWf+JPyK9eIIotzyGSWl6XWOg4IhJw3fltAvYLiSTa+cwWTq+UDevNjO9mMlSxRD9uF X-Received: by 2002:aa7:831b:: with SMTP id t27-v6mr30494619pfm.81.1535996178255; Mon, 03 Sep 2018 10:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535996178; cv=none; d=google.com; s=arc-20160816; b=iaFaYrJwjaeo3F1pSdtpXAjybl64WuD3+M5cuufm32NCxnIFkIZIL0BRI+zLNqIqd+ B2jE6qbDS4pwdVTzKx48XoogQZ7zsQCalrDdwaN0uPQ5Qr4sy1lYqEVowwJ/ObUpM0xk oujqkp4cvv/k/m66Da0Tzi+HdPxLqJ6Z3aF/3BUESdHWLO0Mv1DRpqnFRz1QyFQ+3TQ8 +ldpSyskaAHSw/Q/zZyYzb80gvDtLtJQY58DDR6UpOP5PXWYdLRYk4BF97811mGDy135 jfyQJtwqL6vrLdrEHAqXeU6WwX5MgvnsH4Ut9pey5P0bALCqFISoX3ZgulfPhc0wzHF1 Uyzg== 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=HeHdAnFg5tbkdUaDCC182co/oN4Me4GS81pCxN+4bI8=; b=Uk8v+KJ/Avwvw7ZXhX6/QMqq/Gm3VkxIkZ6TjrhEaHhhtC2GsaIl+n1RbSD9dpneNi zY08YVTbvkcpK5Hb/84swyw13lYe2q2NwIDruvSUc9lIQ9QeZd7QviRLIvYUOvd/3ZCq si5CV3KFTHo1RkQv/BoI0F+OXfP6xPwhEMVcrTZlK9b6d5C0wksGtbwHbeaIIufrQPtH cEjaBCxfNCh42fjABOrV/mQfSnjSlnSkK6o/AaNl6lixMqqQiH9obJ+C38L7pmanOoxo 4g2RyjRxM9tz+kXXXknTTEeiCrE3o7melMWeEaWgpabnbjW104Bf+mM9bwnvaCqWCOZo EM3g== 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 q8-v6si18128430pli.355.2018.09.03.10.36.03; Mon, 03 Sep 2018 10:36:18 -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 S1730925AbeICVzq (ORCPT + 99 others); Mon, 3 Sep 2018 17:55:46 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47798 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728335AbeICVzp (ORCPT ); Mon, 3 Sep 2018 17:55:45 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DD088D24; Mon, 3 Sep 2018 17:34:35 +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.18 049/123] platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too Date: Mon, 3 Sep 2018 18:56:33 +0200 Message-Id: <20180903165721.536430608@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165719.499675257@linuxfoundation.org> References: <20180903165719.499675257@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.18-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 @@ -1133,10 +1133,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"), }, }, {