Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp82388iof; Sun, 5 Jun 2022 21:49:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye+obh8Xn8D50lMdY1ThyNKn78GdBSpFcgrDQvdQWuqk9Dx8QNgYLNGFvdgcF3s1zrq2jJ X-Received: by 2002:a17:902:a717:b0:162:125d:f8e6 with SMTP id w23-20020a170902a71700b00162125df8e6mr22271119plq.98.1654490965107; Sun, 05 Jun 2022 21:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654490965; cv=none; d=google.com; s=arc-20160816; b=GZAUnfjyTw19boJWz6nihxP0qrCyRqrq0LrqodMbZCKpd6kQB4qy4RSP2rxg0B6vHK 9n6H6mNeZOD3z6m7aV5hMMxf7pG+QK7rtvB9obnM4uDf11VVQLGqFR/cvK7Ru09dfN3J KkMlHGCorLlMBq+WiBRtzCiaNtKdxr9mwi6bsxGnBjJ3TjEB1hUUzJLeOw6g08+H56oW 8/+zZvvUBoXr3+n/lhDmIRn9TqH+fBBz2qSBAaz4fZjFjBgqOzhN9aBKD58tTUcYlJPm 14HY1/TQd7pomxC+D6sUwhCJhFhdnk8K6y4I4aURmmjI5jq4DWRije7OjakVKA+MVCN+ eIIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=thJEOw47aWkwJpKjStXW53n2jByTCrrfxouzhvoKL88=; b=NyIk138WEwOw4H+2NvNRnWtdY3tnnfK1bfj2ocg+9pxbNhM5gJ5GTIfmejkSWh12/k GSGZf6QJSCYkJCRRUSi0O5NpWcmBDNBg1LV6bHy9k1ebL332oErEv2BM+b0OdugkQ39V hZ1GDICEvu8tWiH05ckk/esfagk66FJZ1TdL8WSmIAVhokxNGNKWnnYPWs6DByWsPIJz ybLzvf1tlliMOjxfSGQw2HoBHFX26Ga4aXJlKw3T43ZUeKyYwytwh+19sbPc5wPfUSxg EXjOWGCpfxL3n8PfQyulgQahccINrg5L/+tCl/cajelYPuL0DWwqF0niPatoZqixhbiN luYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mariushoch.de header.s=MBO0001 header.b=wtham21r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id ei1-20020a17090ae54100b001dfac44cd1esi18076509pjb.17.2022.06.05.21.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:49:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@mariushoch.de header.s=MBO0001 header.b=wtham21r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AF6375370C; Sun, 5 Jun 2022 21:06:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244145AbiFCMEX (ORCPT + 99 others); Fri, 3 Jun 2022 08:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244107AbiFCMEW (ORCPT ); Fri, 3 Jun 2022 08:04:22 -0400 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050:0:465::101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 623582D1F5; Fri, 3 Jun 2022 05:04:18 -0700 (PDT) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4LF1l30pPhz9sSg; Fri, 3 Jun 2022 14:04:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mariushoch.de; s=MBO0001; t=1654257855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=thJEOw47aWkwJpKjStXW53n2jByTCrrfxouzhvoKL88=; b=wtham21rh9ClkfLxngtddRDxEtskNWMqCdTu/A9FrQLD5gBT5QeMX/wnRjGPjQ7ro9Qka7 R+NJYdvod5snYn0HeMHcAUdKLBVZsRDKTfkcSz7BKvSHULLpPhpIxqqsYpwxeAsANveRyX l/rPkLNj3St41Vs86fHr/3opW3McaW0qf+a1pf8ehhGPeLABa8GR0RMB2FcxWDGa1/2Mul pI1DEclvb+2XwdidsNkFgYX/LNQO8jCmUIpb4858HFrWgQSrXAh9oB3tpbyaTZtV6zFtWY 3U1bje5qlLmCJKOEfHKypBfE1WitoY+QZo/sbNw3ngM1WMRsBO3Mlq5zCTfIUQ== From: Marius Hoch To: Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marius Hoch Subject: [PATCH] Input: soc_button_array - also add Lenovo Yoga Tablet2 1051F to dmi_use_low_level_irq Date: Fri, 3 Jun 2022 14:02:46 +0200 Message-Id: <20220603120246.3065-1-mail@mariushoch.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4LF1l30pPhz9sSg X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 223f61b8c5ad ("Input: soc_button_array - add Lenovo Yoga Tablet2 1051L to the dmi_use_low_level_irq list") added the 1051L to this list already, but the same problem applies to the 1051F. As there are no further 1051 variants (just the F/L), we can just DMI match 1051. Tested on a Lenovo Yoga Tablet2 1051F: Without this patch the home-button stops working after a wakeup from suspend. Signed-off-by: Marius Hoch --- drivers/input/misc/soc_button_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c index cbb1599a520e..480476121c01 100644 --- a/drivers/input/misc/soc_button_array.c +++ b/drivers/input/misc/soc_button_array.c @@ -85,13 +85,13 @@ static const struct dmi_system_id dmi_use_low_level_irq[] = { }, { /* - * Lenovo Yoga Tab2 1051L, something messes with the home-button + * Lenovo Yoga Tab2 1051F/1051L, something messes with the home-button * IRQ settings, leading to a non working home-button. */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), DMI_MATCH(DMI_PRODUCT_NAME, "60073"), - DMI_MATCH(DMI_PRODUCT_VERSION, "1051L"), + DMI_MATCH(DMI_PRODUCT_VERSION, "1051"), }, }, {} /* Terminating entry */ -- 2.36.1