Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2931770iog; Mon, 20 Jun 2022 07:45:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uOH8/n7cB9WdtFkecvzjb1l+xwXcM3jCYzIqKDFXpJOOkbpKvMsB6Gr2wEyV4mYCuiTijn X-Received: by 2002:a63:89c2:0:b0:3fc:8bd2:aa5a with SMTP id v185-20020a6389c2000000b003fc8bd2aa5amr22178843pgd.362.1655736301654; Mon, 20 Jun 2022 07:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655736301; cv=none; d=google.com; s=arc-20160816; b=HnyINuOjA3UAPMAGnA2n18BALKXwuqc/dffCkkuEuCfcKd3kVk52/eWGK5BRA37TsN b+f/bE94Kbc87MocPlm5CYF7n0hUQ0jDU8jWhB2N5D18pWFA+mPRC9g3Sce6cL2xBsVv 56jcneOXZez4fA6/j+AqCf9HuY4xoTv99bXsdVfS1BVJnYXi4Fvu0M5mwp/vKnzgBBXB LwFD3yDm8LKQWb+k4yvv8IKxy+758jYz2Cj2C9yRqRB96iYrCiqF83chKFwOEiKfKuzK XkrTiR6zCpTgm5xjXp17A0HQZd4WzDEOtdTPNPF4HGdsBSiiN+LhOJy19PKCBL6GXbol 4cDQ== 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:dkim-signature; bh=wUHjZiTw+rBvvj4u0+RpXxdziIwX2NcOUaOzvAoWrZ0=; b=ZvR4Fbym5CN5MMnoTDs7/3HwlQf19qrVvfkF8CkaSps/vjiUaijkJiW26I5C5NLZCp BB7SgC8Cl2/xWtOPmtCARwuDIp2n/Ovh8aIbANcNX8B0eba1YC4H3Bucibdkwh+/6B6Y 1N/BotUKcClXE4ufUV+XeloOTxz0H3EhrnWMtF4pFkE+zmeR9wZpWPG3qn5X5QJRDTdr GXgzklSwBhZICSOUr4oHwzgEwQRF/yDu52J2H+I85oks+BRXd0y+X6m0yYqABn0iuxfO +pK0wKmlfFEMKZtZdm6610XS0uzXzNFSB7kYm7wzOhXyaXSuWvjuskc1m1JJTXsim+Xd cqBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=s97uI+Nv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w184-20020a6382c1000000b00403fdb3af20si16747812pgd.722.2022.06.20.07.44.49; Mon, 20 Jun 2022 07:45:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=s97uI+Nv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243747AbiFTNB5 (ORCPT + 99 others); Mon, 20 Jun 2022 09:01:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243209AbiFTM5s (ORCPT ); Mon, 20 Jun 2022 08:57:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28F6419294; Mon, 20 Jun 2022 05:55:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9EED1B811A0; Mon, 20 Jun 2022 12:55:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFC60C3411B; Mon, 20 Jun 2022 12:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655729714; bh=o4xZ5Na3RkwWIDOlYsfRkLahEYmnqPKWG46lPr0m57E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s97uI+Nv5mlVsE35GqlvdJfD5ARMgKdg4l0AXsK0ZNoEqB6C+c2SvfRbqaExsa8gS 1eHzhYDXbqJiIXU70GytL/wn2c4Nw18SVQViLWJn6iWYPbMQ6UX7DDf0OsMeXQ40/+ ZzTHGBDshsHl8Vc2ULLoxJysz9FoVUGSBJr9guio= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Duke Lee , Andy Shevchenko , Hans de Goede , Sasha Levin Subject: [PATCH 5.18 051/141] platform/x86/intel: hid: Add Surface Go to VGBS allow list Date: Mon, 20 Jun 2022 14:49:49 +0200 Message-Id: <20220620124731.043914458@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220620124729.509745706@linuxfoundation.org> References: <20220620124729.509745706@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Duke Lee [ Upstream commit d4fe9cc4ff8656704b58cfd9363d7c3c9d65e519 ] The Surface Go reports Chassis Type 9 (Laptop,) so the device needs to be added to dmi_vgbs_allow_list to enable tablet mode when an attached Type Cover is folded back. BugLink: https://github.com/linux-surface/linux-surface/issues/837 Signed-off-by: Duke Lee Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20220607213654.5567-1-krnhotwings@gmail.com Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/intel/hid.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/platform/x86/intel/hid.c b/drivers/platform/x86/intel/hid.c index 216d31e3403d..79cff1fc675c 100644 --- a/drivers/platform/x86/intel/hid.c +++ b/drivers/platform/x86/intel/hid.c @@ -122,6 +122,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible 15-df0xxx"), }, }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go"), + }, + }, { } }; -- 2.35.1