Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp985039ybt; Fri, 19 Jun 2020 20:34:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhwl8AD2Z50GuWx0n4rKRBxf/C7SCYxGTfhYyrTRFkHALb3rbW8iVlJU1PeNLSwJo6lMUo X-Received: by 2002:a05:6402:129a:: with SMTP id w26mr6547895edv.41.1592624071948; Fri, 19 Jun 2020 20:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592624071; cv=none; d=google.com; s=arc-20160816; b=hQCb63leWdFCW/NjzMm3sdTyl+TSoG4MQm+LP2tpG1CL5XpT3nj0KPZM4nvY/FeD+A jck4/wIVQGPS22uLSx5rcrgJiWXB2yfA6mj4B+AOpXHVYmxfRRrw4W30DQtF61Ki+oW5 0Bjw3aKyu38C+DJbsj/D/jNHQ5+f2sbKcAz1Lz8d5jZQyfecwmwhvbyNkEV8PlnWLQLp bsAhlWgATUhBgaU0pcQJ+WSoSdCW4FTiQH9fwYfYBa2Hio4lbXs5RAt2x+auaFYhA0Ex 0MUNlihg8t6YFCr/O4RRiTZ/zFlUQmSSuVt6BbDUPXZak1suL4Vp+8QyHixO8Lm7uWXW VFDQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8Ac79d1JBw1a+hMKnjhyy+25tnQqELfeFVJHS/4VSWg=; b=ack83pmCi7K5JEJbvJ7miYQKSjq7QNns3xQ3b4MzAwZ+Y/LjV2SI8nqiVAaQcN7e5K j4XbH4gM6SRQ8buqXSgfzwuNdqm/U3IY1bI6yVQjYh+vPEBZB+AE4acw1BnrlF5aKkzP SMrC5o8lms/qEf7jHS4yq0NW3oN2/LiEIh/6NkR8qkSgZwaUg3+gc++wTnpUqPOSTvxC NoSTuKdWjTtZkWdh73fUBTBCcL0rktHDbHb/uvUDkK5FK6ZcRD5aXeCIvVUwrGglQ0ry aykHzjOaLcCoN9bEIgXnrdd+QMMV+CZfsb/XwUkiA/U0+KL6JitiOmgvjQT6J/QAIB/o tumQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aM41MsvC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si5037514edr.173.2020.06.19.20.34.09; Fri, 19 Jun 2020 20:34: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=aM41MsvC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394611AbgFSQTv (ORCPT + 99 others); Fri, 19 Jun 2020 12:19:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:58210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390424AbgFSPBr (ORCPT ); Fri, 19 Jun 2020 11:01:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9CF3D2193E; Fri, 19 Jun 2020 15:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592578908; bh=W3ZhRUwNiWudInO1qOqNzl8fJ3VzFMEDoRHUiQYNBKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aM41MsvC44MpcWJRq2VjtICLtZDN05UUWMqgCwria5KumwtGuZbZluTEdWk7KbewT oeOXxQiflcBGNb9P33OjEU+iSS/978u9/lw0Ks7GAnKiFCq0AXHO3ULBJTyclj979b bm62FZD5LQFyHKWwqhyGfvB4Gq0pO4kQz7nyypzc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nickolai Kozachenko , Andy Shevchenko , Sasha Levin Subject: [PATCH 4.19 185/267] platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015) Date: Fri, 19 Jun 2020 16:32:50 +0200 Message-Id: <20200619141657.628149888@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141648.840376470@linuxfoundation.org> References: <20200619141648.840376470@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 3201a83073b5..c514cb73bb50 100644 --- a/drivers/platform/x86/intel-hid.c +++ b/drivers/platform/x86/intel-hid.c @@ -87,6 +87,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