Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp245744pxf; Wed, 10 Mar 2021 05:34:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwc9KhOjac2ofVgmRfZkSLHkDxp5jK6ImAp4angmFw9slsSGFjzkKibBM8QdB6Vn1ZMzh11 X-Received: by 2002:a17:906:4015:: with SMTP id v21mr3744980ejj.433.1615383253322; Wed, 10 Mar 2021 05:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383253; cv=none; d=google.com; s=arc-20160816; b=RPk2joJ9DjPQMyPYErAK8xsYQHDLnjG5sQgqJo9I6y/w1XoolXRt10sw3Y4yUFBO9j jVon4lrmU2wEQF6zRBtVvWlqeYyhnDP6eunoxQoc43AZrBlLhKFSdgI5AZMiFS7M+Px1 Hggwz7+lBh0yyvg8j666HYedFLOow5Rq33/hj7WeplKHE4SJRXnb6V2K1htSwQn5UxwH wP8z5VWnpTfnNGekJB3qSNY7qb73fpQ+NVoyr8meBcdG+BTD/q5buNyiBVJV7yZdd7o8 I2WibzLMpRVWNBM//n1BVBBSNIEyD2bQaN8zaXcc8WqIyAtfUGmwKFFXAh44iTnoFxLK LrEw== 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=NR6ta0KDIAlspHAnISNcuMBb/D3VDq9GDbfjCKfWYag=; b=i+2DRlfk7AgPS41IOFj54+G3/r9+pBxsOU46FZoLWnY8dZqVk0SgoJw4bqMFvsmfOs Kek/0KgD8/V0TROrHZTcr6OzuY96DmJ6J6Xk/Wm+L/1xBZ+7845GAeFUlwIJfIdYJCaj Q6JYPzVSdE7VuzqwWKxaNzOWfevLdNrMiC9XBprO3rAwJwrOEc5cyhkh+B7HTSax+6ZF XsiRGaGuCvEffRL5IT4YgHsX0OTT6y1tESa4hA700xCUk3xMvrtiN7Vdd2aUA0ORw1LO XpvQ/yQk+//z1OGLB+Me+/cN4Cc1/B8kcdWnf1BCvBVBDjv8zCKvufuTLd7km6EmPab+ 9iCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NqTffRVB; 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 b6si12106151eju.321.2021.03.10.05.33.51; Wed, 10 Mar 2021 05:34:13 -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=NqTffRVB; 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 S234203AbhCJNax (ORCPT + 99 others); Wed, 10 Mar 2021 08:30:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:47144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233407AbhCJNZf (ORCPT ); Wed, 10 Mar 2021 08:25:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 309386500E; Wed, 10 Mar 2021 13:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382729; bh=ylE91ePWbk+YE2Zl7TQe9rREs+wvW6bT/meHPnTI64o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NqTffRVBH2jjs0EaqA7pPcC2vSafubsHQikHRvvPrAsYzQXQj/2ZE0HqFhop/2L9M lBCt+YlHC+hpZRVZ/xzc0LKU1k8FdhrcRVP0grJDDbhXCymix/gVymsIhTua7fWg79 87e5MvrX9HkBS4deC8ocQFypEN9h8rRbFQorCq2Q= 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 4.14 17/20] platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 Date: Wed, 10 Mar 2021 14:24:54 +0100 Message-Id: <20210310132321.071466998@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.512307035@linuxfoundation.org> References: <20210310132320.512307035@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 52ae8bb38813..5ddc359135a8 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -524,6 +524,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