Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp152138pxb; Tue, 10 Nov 2020 23:27:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOt7oQLk/11lbzHG2yrDKmKx3qJekYafIDpIavt8HVIjZfxFfkPuL5QUjRxRkxqZ2FQm3e X-Received: by 2002:a17:906:5247:: with SMTP id y7mr23297934ejm.503.1605079641903; Tue, 10 Nov 2020 23:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605079641; cv=none; d=google.com; s=arc-20160816; b=XQCnZPSoFzlNvfi4LGwjv/H+3LxExDrAyRKyhsn7an4me7kexgGqfsa1vCzUeQYc3c MIV6HHTH+cVLNiqHDsAdv8KvH3iS/SafzBxLTuqwfzllM4O8ZNV18XW72iU/kImIbMSf 8Z1IQJioOBfgql9BJfnKJHxLhLD9LrRsZqCIjgt8rcLOYROfhBdMNH1mp79DaefdXb32 M4Zcg+dyB0yXHIcNhi3Qqx/sq80hUGhhmbk0NHtMFMTx9PfRheNK4TdX5KdQp96tRhfG 05gsQB+OoqgiFjS8M8AVoHs0gjDA5ApdMm/OiIT59AJsYI8hEb55O0aDqOx72y6flT+R TLpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=j8pvPTokBgjaur48JBsBeg2w6qnfgaTdqOBx0yGuZ3I=; b=whTyNL1OoZODqF1CIEaNOvZrl6e9to3sSENfJPspFKCLITReN2z7UX8vxW80XgVn5L SXiFjil2gQTQ4J1Dg4OQfsjMaoktLTDkPv7vxRYpYNeR7ctJXyAvKyJQItkqDk+99z8O zDG1yvSb89ET6L5RFo89MgmCC0iuchDwgBtxUbe476VjzoNwJ6/Qx1T/6bvfFVwEjByU toiGhtgNTPqRJ+PIraxV4f5A7FzceKk3tpGBefCc6Hb8oqiTFkFY/mbb4Rybk6knhBxU 71gv6uWIwLuHcTdbT9ZMvaWlqfIz9mWXJakPePJmMycMRjZbQJxWBcSaAr3T9idKvdYT LcpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@codon.org.uk header.s=63138784 header.b=wnSghZhR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi24si943491edb.452.2020.11.10.23.26.58; Tue, 10 Nov 2020 23:27:21 -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=fail header.i=@codon.org.uk header.s=63138784 header.b=wnSghZhR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726563AbgKKHZi (ORCPT + 99 others); Wed, 11 Nov 2020 02:25:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbgKKHZT (ORCPT ); Wed, 11 Nov 2020 02:25:19 -0500 Received: from cavan.codon.org.uk (cavan.codon.org.uk [IPv6:2a00:1098:0:80:1000:c:0:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 219E1C0613D1; Tue, 10 Nov 2020 23:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codon.org.uk; s=63138784; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=j8pvPTokBgjaur48JBsBeg2w6qnfgaTdqOBx0yGuZ3I=; b=wnSghZhR34+/fGIQAj7q+F3oV gOzgT9hBZkjvHhSFnPCvpBONn/4sgjJUU3aspY8TPaBgN4TmfL1jdH0lzrWVC0PezyRhBjnQ8S4P8 /lD89f3YzUB2eo/VRB9hGFNL/l8p09LZrD/g96ZmZf/H0aCwjGbzgFmizVKSG1Si4K0zg=; Received: from mjg59 by cavan.codon.org.uk with local (Exim 4.89) (envelope-from ) id 1kckUy-0004s8-40; Wed, 11 Nov 2020 07:24:56 +0000 Date: Wed, 11 Nov 2020 07:24:56 +0000 From: Matthew Garrett To: "Yuan, Perry" Cc: "hdegoede@redhat.com" , "mgross@linux.intel.com" , "pali@kernel.org" , "linux-kernel@vger.kernel.org" , "platform-driver-x86@vger.kernel.org" , "Limonciello, Mario" Subject: Re: [PATCH] platform/x86: dell-privacy: Add support for new privacy driver Message-ID: <20201111072456.tkwdzuq2wa7zvbod@srcf.ucam.org> References: <20201103125542.8572-1-Perry_Yuan@Dell.com> <20201104014915.45tbmnrqvccbrd2k@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 07:21:07AM +0000, Yuan, Perry wrote: > > > + status = acpi_evaluate_object(NULL, ACPI_PRIVACY_EC_ACK, NULL, > > NULL); > > > + if (ACPI_FAILURE(status)) { > > > + dev_err(led_cdev->dev, "Error setting privacy audio EC ack > > value: %d\n",status); > > > + return -EIO; > > > + } > > > + return 0; > > > +} > > > > What's actually being set here? You don't seem to be passing any arguments. > > Yes, it is a EC ack notification without any arguments needed. I'm confused why it's being exposed as an LED device in that case - there's an expectation that this is something that actually controls a real LED, which means responding to state. Are you able to share the acpidump of a machine with this device? -- Matthew Garrett | mjg59@srcf.ucam.org