Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp241160pxf; Wed, 10 Mar 2021 05:27:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfrXBrf78EtLcIdJTozvTvP4IHU2okmD2Xs7PyKdqzT6wtYiQ1p9UYm0lWjPKnIvg554Hs X-Received: by 2002:a50:bc15:: with SMTP id j21mr3200981edh.187.1615382858174; Wed, 10 Mar 2021 05:27:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382858; cv=none; d=google.com; s=arc-20160816; b=uXi0AdV3W6/Po47NeUo1jLvxT/UVitrFvv3g93U1l4XROkDloZRvlw6rKY+Sv2ZBTV l+vmpnuq5gfp9EPEsThACF3ULMfeucF6BMvegoT+KybG/PvnC0dz1mcKU3pp1lVp4SEi dwRkyh1rPwOGZsqfnEdtrQLSk6F2I+RmpYspNoE2UkIeBdUMlCbi5nYJXYyFaPwEjaCF ITiQDx59QF9HDJyxn9mDrf+q9EPG0VJY/SuExzp8QUS3zFzjcqTp/H2ME0fyoarg7PO7 R2vswMPtEv0VxdfwS0zTb5tSem8uFXbyE4m/A7JMsQbErQD5a5U/0knLzo8Gm+y+BASN Pz9w== 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=UuLSsQbL4tlcr/ey9aad6VwQILUhbtCgV/sorWiYr6w=; b=DRgAOOZ3/5L+kzy769wrAwyGnInQP0eiXM3nhz0P72itLZzpETnfs73aGxU5ocjj/6 zxXSnqRP8+TDr2Bglhlc7MhOALW4DuHL5pFZUuxgni0WtuN2YmVQoMEZQHeD2EEOZeGd H4xPf11a5zQF55KxyRCqOfLT+R+qaYFog6HLKiPLt398z1oI+FKWhgjxFUMZo7Z9My9r cTViO0pPwB9fi5Kty9BTsnz1+Zl7UFeHgaKksBOYZ3Uocu29ugt+C7+UQlbYfoCXGAgw mfWTdrOOITuR1HqnpFT5sJuxr1IogQ3UF/RcqV0oSH2EEIqlxIn4xQ313XR8PBrQSX9F gYmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LLVTUzs7; 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 a14si11574546ejc.200.2021.03.10.05.27.14; Wed, 10 Mar 2021 05:27:38 -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=LLVTUzs7; 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 S233658AbhCJN0B (ORCPT + 99 others); Wed, 10 Mar 2021 08:26:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:46084 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232938AbhCJNYm (ORCPT ); Wed, 10 Mar 2021 08:24:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 264B064FF3; Wed, 10 Mar 2021 13:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382682; bh=eDxca02f5Q3hJ6WcWjxYS3O2tqD2JDskL56ZN7VS4tc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LLVTUzs7939v6TVxI7VaQeT+uHX9IT5ZSQISDNA4Kqj+o2VhdYvMHYucVexuqHQww niBZE+Zp8cA/Y/6837xduVdLrQcys8f0SgrMHbA7rsR19sz8XLOWJBd3vBs1YIRK+p 6mYxPy6t5zW3KYpPMERWhQz9WvX7Fbb+UD8SFr+g= 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.10 20/49] platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 Date: Wed, 10 Mar 2021 14:23:31 +0100 Message-Id: <20210310132322.595579552@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132321.948258062@linuxfoundation.org> References: <20210310132321.948258062@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 1efca84bc1bd..80983f9dfcd5 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