Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp241874pxf; Wed, 10 Mar 2021 05:28:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2FHN2oDpO10qclSdcKTECuJDaY7g3D44AB3oXm2H7sCABT9NPApohIqYxoyaH6KRXv3xS X-Received: by 2002:a17:906:1dc2:: with SMTP id v2mr3712912ejh.350.1615382922723; Wed, 10 Mar 2021 05:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382922; cv=none; d=google.com; s=arc-20160816; b=otTl9Nrc38CJJxY+Bsrp8ltZ0PKJZTxkl1fXhObUC/w2wu2inNFexhxM3NhizWqG3q rOrZygI+alYPwzqptACyfCtT0D21lbM4jtmUOIWYMBEO0/3IcM48ALO68mSC+NWTMscm jG+YPJl7Uh6Qx6hFrFYXP8nFYUC2QqDCa5imS7CIlKNr8o3WK0pm4Z/a5VUDYjZTwgEQ RfqFsms7eUfrNudxNGX3GUGxMOaXot2plxKsE18DZTnR/dNjJdT6YK8KL2FSm1xfkGsV UxYdldLwTe7XxB6/Xc+AVGTzxjkD4L93k8yjbtQaeDJ6mnVdR7h6GGdDPgQgt8fScYHj +eXA== 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=6/Zf59lIu47IvIJlIqNCXl+4KgpVZZ+uv8k/acWrOUc=; b=UV32c9bsQedyKwJmKZHJpxvnDBRYwvpitgVgXPmS69qjKinENRKQSb8jgee+yjAlnV ecEQpvtyURtIaI39zFGfQwqdILc7zW2OuqoYeJLI2sd8MJshAwStfJccSeyyZry2FGzS L3+lYe1S/P9Jn7idhTQp3lEn38DNn2dzHLAXybHDrl0+9TrTHubmubg/Q50Gaqfz6qvX nkrRGg+jo5bBH0T39ZBE0oaZUV8teMThJhxBBlM9D7znafvcpbwvqX09lJqccdHxVs7I 12qBhK4D1OKVMu7Hc7LOwwL3T/a9o5V/TQFSDhdfi9Xn6tL+Vcfz9z8qqdebcohZhTmi tk2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Vzs+QFRr; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y31si13492199edy.152.2021.03.10.05.28.17; Wed, 10 Mar 2021 05:28:42 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Vzs+QFRr; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233943AbhCJN1i (ORCPT + 99 others); Wed, 10 Mar 2021 08:27:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:46586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233184AbhCJNZD (ORCPT ); Wed, 10 Mar 2021 08:25:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DD95E64FD8; Wed, 10 Mar 2021 13:25:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382702; bh=8X32iOgDKlS3S+lKRAQtApS+4qPcMAL1AjuDElNtk/8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vzs+QFRrk3X7vttpBfSmhWyXD6EE/uA6WBE09QnAA0FDU5LEJr1sVY9qdBjUG7eDd mVvtdIODpp7d8CpWS3LetJp687r3eQnDfI6ZyYsYaL61bMNe9VrwHUP2mDXdfTCXQd 1zEWXWHu8kh4oJnx5FUg/k7P5QGZuLTZHYIL2lCI= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Sasha Levin Subject: [PATCH 5.4 13/24] platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 Date: Wed, 10 Mar 2021 14:24:25 +0100 Message-Id: <20210310132320.953247914@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.550932445@linuxfoundation.org> References: <20210310132320.550932445@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: Greg Kroah-Hartman From: Hans de Goede [ Upstream commit bf753400280d1384abb783efc0b42c491d6deec3 ] Add the Acer Aspire Switch 10E SW3-016 to the list of models which use the Acer Switch WMI interface for reporting SW_TABLET_MODE. Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20201123151625.5530-1-hdegoede@redhat.com Signed-off-by: Sasha Levin --- drivers/platform/x86/acer-wmi.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 427dd0987338..d27a564389a4 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -511,6 +511,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = { }, .driver_data = &quirk_acer_travelmate_2490, }, + { + .callback = set_force_caps, + .ident = "Acer Aspire Switch 10E SW3-016", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Aspire SW3-016"), + }, + .driver_data = (void *)ACER_CAP_KBD_DOCK, + }, { .callback = set_force_caps, .ident = "Acer Aspire Switch 10 SW5-012", -- 2.30.1