Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp107209ybg; Mon, 8 Jun 2020 17:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrNqdJ3gOl4MBqNR9Eexa6mgyZH8Pe32ekU9l3SjtZdceAk9y8Kekrl7lertu32Y/LOUNB X-Received: by 2002:aa7:d717:: with SMTP id t23mr23526022edq.304.1591663651365; Mon, 08 Jun 2020 17:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591663651; cv=none; d=google.com; s=arc-20160816; b=ZoCJcWn7k2YIlp/HJrTtAr0INTcgAWcVwcz8qVBgZ4XnIhVsOPh3SvHCDc0bFW+Hr9 tpxtjfi+UfK/T6fgJzRScQgRCw4QkWkc/FcNjMgXdFCKzC/YlLpx5vj0u938VNsnEjyc bPdJyBZ4accoUdvJNaqWpvUX8VEPJcoQJlweIa2LDiP6lzEQaC1ZWfHW5101m2s1DSRs ljmSc1vXgUQuzgIqAMBsFNnN4Mom7DVtbubc3e3N11/AmXhiETD7yMav/wNE7jq+IwaX bNHwdYErn3KUqDAPH9dXmxEadyLg+ho9aJ1b7NmzmaSJ93qcOQKSBoJfIA8Uxi7ajomJ ZBcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/p6rEHRUOIbOLMcULuGPr0F6fg9OSLnPUTx5l2Ls9Pc=; b=O3Z4oGdm/3mpA0jpoUfGgZ62Qni7LyWf4y/7hRMPfDmNDPgk2L0i/kAQ4YDK3ocOKu Lb/M+3eD66Q246PHBF17dRy+MGcyF8cS/BHKRjrbaTSBW5w5YzI4KkLnM29NQwK7vLQG UQ26cyaCj9UJch7/z9Zrm3Ae/mF14cAilgSddfR7i87HCs8LSWeT+vUxJzlMopC/Fadc ZOZ6H6shJxqyoQI1HEVQN6/gMnhba0/YNp+E5bxgpqrKV8E1tBPOPOfFmH9eYmp/VRB/ pOHFml3Y2xXNADwON8mpKyOMjPPTP3bGoecNmYvuv5TYSQ7tPMFck3dakuT76AeKmnG4 Q4ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XSo1qGLj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jp20si10067282ejb.307.2020.06.08.17.47.08; Mon, 08 Jun 2020 17:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XSo1qGLj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730936AbgFIApU (ORCPT + 99 others); Mon, 8 Jun 2020 20:45:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:58874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728992AbgFHXLt (ORCPT ); Mon, 8 Jun 2020 19:11:49 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1FFC212CC; Mon, 8 Jun 2020 23:11:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657909; bh=VW46B+ei0NsG89h3+DTKJ1cC++KE1d0wIR0QtbLgOmE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XSo1qGLjue8HRya73WN2HuxugFQ/ZMf8uFPKV5vzXYT5H+478jqWETW86N+c4cjBD bJQnDTEPb0yuoE/JFwuamSdo2XvQl4cVMGGesombS+hNTokteWbYh1H1ZCw9c1kyca 0kFxlM2/4wYaWKPNfKeW8CYR2sfQouk0JQlCt8eE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Nickolai Kozachenko , Andy Shevchenko , Sasha Levin , platform-driver-x86@vger.kernel.org Subject: [PATCH AUTOSEL 5.7 261/274] platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015) Date: Mon, 8 Jun 2020 19:05:54 -0400 Message-Id: <20200608230607.3361041-261-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nickolai Kozachenko [ Upstream commit 8fe63eb757ac6e661a384cc760792080bdc738dc ] HEBC method reports capabilities of 5 button array but HP Spectre X2 (2015) does not have this control method (the same was for Wacom MobileStudio Pro). Expand previous DMI quirk by Alex Hung to also enable 5 button array for this system. Signed-off-by: Nickolai Kozachenko Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin --- drivers/platform/x86/intel-hid.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c index cc7dd4d87cce..9ee79b74311c 100644 --- a/drivers/platform/x86/intel-hid.c +++ b/drivers/platform/x86/intel-hid.c @@ -79,6 +79,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Wacom MobileStudio Pro 16"), }, }, + { + .ident = "HP Spectre x2 (2015)", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x2 Detachable"), + }, + }, { } }; -- 2.25.1