From patchwork Fri Jun 3 12:02:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Hoch X-Patchwork-Id: 578906 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C43B2C43334 for ; Fri, 3 Jun 2022 12:04:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbiFCMEW (ORCPT ); Fri, 3 Jun 2022 08:04:22 -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 X-Rspamd-Queue-Id: 4LF1l30pPhz9sSg Precedence: bulk List-ID: X-Mailing-List: linux-input@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 Reviewed-by: Hans de Goede --- 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 */