Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp244553pxf; Wed, 10 Mar 2021 05:32:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyE7N7vXUvKvcoEEeVmqxXKLmR7K1pfAa9oIDYOjLxGb+o9YHFrBYtX4rV3a52/7h7TLYJE X-Received: by 2002:a17:906:22d4:: with SMTP id q20mr3794767eja.54.1615383148899; Wed, 10 Mar 2021 05:32:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383148; cv=none; d=google.com; s=arc-20160816; b=tp38wXn9wU1pXqs7VSqF8n+Gm5AaDfKKCJ10WGOtKvmVKWWh1ouCZjGnknHewCN0ku 22HywHzDvHeuHCo/PN2rXUZW48hIwIeclBRO2gx8eeF7v67ZlU2vBgE5gSZaUExXJQ6q LodhcQCsmACsdgBEHGWO7t91K6G1A1Zz+nRJEv7oU39/Q9Dl8j9Z8Rs9wIEwMO27gU3c m6c1Gi+ivkIxbkwpsW6PG2sQJNA03nk13jPfwiPEiyPsHvq7B8VNERMRm4D6yK0wh8NQ 2QMfvwjiA+dqaWs02cwqFjOgUCl6Ff6Z2WxZ/2uljjkigIsumq1NL6vgAERhO8NmHIG4 tY7g== 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=bVk/ODvPSorHxtr1bAQaKY+AGbnQLclaD1OkW5a3bNc=; b=deOfn0KqAS+M2Tjp/MtLRdjtWaOYv/mm7wWHcd1fGd8OPTPfkqoBmy0Ssj8VL4Sy9p BSxmGovQgPNqbTsDxTgWgixyg/aewBOODRV+5pIpGe6OHHOw+EAiKVIR9Q6Za8LSOTeD rU432gX9OPlE9iPcYy2R1a09lvMZOEGxz0QAOS3JyIsOVhcM8ztfMQJpZaiE7cBbyM07 Lrv3DfFysWYWTtYnO++r8qrg9JT2TORCEICT7WaA5L8a6TPFtI6ciRsUR5LDFt6Dsvj7 GICnvHyPpixoo+6zpo2d6FHvs1S9K9Qe+VLifYG44fZh/5g1omiGkhio5qdpRt7z/4a/ ZIcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2L3CXw7F; 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 q8si5540730ejb.609.2021.03.10.05.32.06; Wed, 10 Mar 2021 05:32:28 -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=2L3CXw7F; 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 S233906AbhCJNbH (ORCPT + 99 others); Wed, 10 Mar 2021 08:31:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:48978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233500AbhCJNZs (ORCPT ); Wed, 10 Mar 2021 08:25:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0E65164FF6; Wed, 10 Mar 2021 13:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382748; bh=XV2toepE0XOQNU9rHCgbFJbAT0uM8Y+v8Gj+46cyxYg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2L3CXw7FCT4yt/pdnATP9lV6ub6yiKuPuIwi3vguXRkwE+9rmPTGV26WJ3ZHqfDRQ qN7kie0ghgDmrK0yMcytOdlqkG3NJ9YMTb2dN169TuCuNjuyuh8bAW+VspGk7ba30B GVfTCCY65T4v1yZdLwxVj3ArxNI8nVKXLImi3YXw= 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.19 32/39] platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 Date: Wed, 10 Mar 2021 14:24:40 +0100 Message-Id: <20210310132320.719934075@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132319.708237392@linuxfoundation.org> References: <20210310132319.708237392@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 b22df329e97b..bd25c8a156d2 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -525,6 +525,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