Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3029750pxu; Mon, 14 Dec 2020 18:30:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz76F36ibB/aC3rOPswQ8BpAe5D1r/nOOV+gZwHwTwAdZAOAZcHbEaLUh7z8hh/61R+Mvi+ X-Received: by 2002:a50:b002:: with SMTP id i2mr27468453edd.99.1607999429495; Mon, 14 Dec 2020 18:30:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607999429; cv=none; d=google.com; s=arc-20160816; b=mtIBC/aB0HLoWwrzAaZJ6LSU1tq5bL4KW2MgdkvFucPGim0y8tJsevBoos8i259a9B 2CP23UhwxR2qIuJ+kcWtZ5y7SjV8QzLFJrc/BypILattx9o3vVNR4uqhK6VeQwt4V8wa YA+E086qptcmCZmIPB467JoFzMc4Owu1XiU+iMzIuEp8YaUQrwyoG/zhJGy+sYkvlc/B rn/4alL02fjrpqbw0frOkwLeJNRLf0cHhvbaozRY3dY3lqdll96pbqVMIKA+xufMGT73 lmZjTpH+MVYhg5LNZWci9/P5qUEDRVre6vdQEJ44urGenS5reg/P8z11tMvMazsylqIi o+3g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=K2nJKPBehxxiEgEWhTaG63SNxiVwqvFZLxIXi6Mia7E=; b=EwauN9klP9IvgpcNdkpUpB9TCEL0cIJAW1bEDMHAxgqdmIcASfN2/VvnLV9G7P7JoQ ADYj9HBmq4y4k/1nY9KscmnRRj3SKe9ifxKZkjdgUFhIKaDwOi4XBEsX/t+FUVso9Uuo SoIF8VO21tSbMbq+cIIxCDGf9hpmOFFDpCKadoBIfUnMx6414tuz2wca0UfUAMHXofdr Ve9U13spgyNNlLEA3TQ7IU3atSWOnUpmWJJIK7kN79Q/yy5jyKLguls0DkakSJFK/A80 H1t1dTQnLvjUl2lS/krvpL/QhaolmwJnwau297qcNYXnsn40QctaheJQXgFj/C50ldXT sBGg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si150532edl.223.2020.12.14.18.30.06; Mon, 14 Dec 2020 18:30:29 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502242AbgLNRhr (ORCPT + 99 others); Mon, 14 Dec 2020 12:37:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:46086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502223AbgLNRgz (ORCPT ); Mon, 14 Dec 2020 12:36:55 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Max Verevkin , Hans de Goede , Sasha Levin Subject: [PATCH 5.4 20/36] platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC Date: Mon, 14 Dec 2020 18:28:04 +0100 Message-Id: <20201214172544.294443290@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201214172543.302523401@linuxfoundation.org> References: <20201214172543.302523401@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Verevkin [ Upstream commit 8b205d3e1bf52ab31cdd5c55f87c87a227793d84 ] The Pavilion 13 x360 PC has a chassis-type which does not indicate it is a convertible, while it is actually a convertible. Add it to the dmi_switches_allow_list. Signed-off-by: Max Verevkin Link: https://lore.kernel.org/r/20201124131652.11165-1-me@maxverevkin.tk Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/intel-vbtn.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c index 5c103614a409a..701d1ddda4b11 100644 --- a/drivers/platform/x86/intel-vbtn.c +++ b/drivers/platform/x86/intel-vbtn.c @@ -197,6 +197,12 @@ static const struct dmi_system_id dmi_switches_allow_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "HP Stream x360 Convertible PC 11"), }, }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion 13 x360 PC"), + }, + }, {} /* Array terminator */ }; -- 2.27.0