Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1863306lqp; Mon, 15 Apr 2024 22:59:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9N7xfFT0mxz4eQgH/dhZG/at7YWmVGanpp7RAJYSVIvgtDhRPSp9THygL0nrjPXfQgPZayTnCd9fVIXSE1nPaA7GldoPsMGqxIjoM5w== X-Google-Smtp-Source: AGHT+IFBRYux9PluWPUyQhb7pC/vXH2ZPJeikM3qW7TJ4PRnYqrxoPRHsuXoof64DYl1Yo8Utwtz X-Received: by 2002:a05:6102:3ca4:b0:47b:9442:e5d3 with SMTP id c36-20020a0561023ca400b0047b9442e5d3mr1748572vsv.4.1713247153539; Mon, 15 Apr 2024 22:59:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713247153; cv=pass; d=google.com; s=arc-20160816; b=jhzmq+w6OSct23DM1N+3FjvxYm9NYj6D/IEjpu3N2j2EffoS7GRs8+obWKkSgrEL4K Pm0ORnyScyuPLmNczZniSQ8oGQfjUEeE98Bdxn2zAXGRAiHaYGDcN9nqB6ScNOQj5A3A 2gD/WftSQRj66NqlcDa/0v9GWEEXvMVal4hegc3JgesBEbOn2zAgjImNe5OygpNTsTvI hRDpgng4AZMOkL4GTZuk9h5eVAORv1Xmt6yTMT18SSmWmIDUv5wGIom8mDtXdglQvub7 XjPYIdIfHD8/unDW/R5lYKym1oGgrYFT+W8HLy0blgqPm28fP/iaTVUMTwuvLkV+S5DY TqnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=A6kUCOTU/KHoNeSRP9VYf4bLvh0d1EyGbb//Y+6ttp4=; fh=RpUkPCO1yB9SrvCZK9/H1csNKJkfhSEm0lTOtlRGhag=; b=yzg0iWsjB/jAaYVBYSjxoi205iNg4nhfWCqkHY+9mT9gZGzEj9znmGheu2qgjBHNJw qePZ+/cC2msRRLentXlEj0CKhiArb9tppeRpd+iFZYDYfrv4GHhz3e+d/wlIkOQwEbOR EXtxQK2wTGKroeojMwAc0kvfSLx7r3Drk9DczehwQXnxKVb7z1JKulj5yvx2yh0OexV9 UfNXA+gYkCIGXUfEMRqVW6vCCGY2SKZeO4YyIJt41gmm1jc9voejoEQ7k+Bb5Pfs2uLX V/ZQNNiH7vvv22ugZqgwHP6DNDNifRNDLNA3rEopqb8YAVufdZTefJPfhCngtuXRCAaZ aSJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=R6lMXlNH; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-146304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x13-20020a05622a000d00b0043675909527si10703625qtw.82.2024.04.15.22.59.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 22:59:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=R6lMXlNH; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-146304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 470E91C20DBA for ; Tue, 16 Apr 2024 05:59:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FBAA59177; Tue, 16 Apr 2024 05:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="R6lMXlNH" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB4C76F513; Tue, 16 Apr 2024 05:57:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713247037; cv=none; b=V+gWQBiTcKX9F95QE6UWL5INULpPfDkI6hRU90SQZAmFD9H1Bo7amP7yz6XNc/mMjWle5xglHxu8xHFta68pA60XEeTVxhShBb+VjtyXVqKq/e1jGwKVfvg86iv7PxgD2dtjysuq0O66XrQ9MePDAc+RmINpUiHYedFY6ZjJYqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713247037; c=relaxed/simple; bh=BSiD45iHezRW5bA1OBXq4yRQdrMCdX7Kl7um3fjh6H8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qS/s+DhogQ0tNxDmmMuqV0yO+/3dKeYvwm2JLtXE+M9fW/hEFQCerDQ3ZTg8LibI0pM9rr0RlDQyHOcYC+rlT2wObQE1OdWtvGjl9I48Y2gwJQQUIbF6+WJYgBkfFpSQDfxVjnZ1B00+GqP2ISLIxzbNYqlP79QA1TLt8mplTJc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=R6lMXlNH; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 25711240002; Tue, 16 Apr 2024 05:57:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713247034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A6kUCOTU/KHoNeSRP9VYf4bLvh0d1EyGbb//Y+6ttp4=; b=R6lMXlNHkx3gtA+mxyCTBUY7GsR81/Gr9OrY6Zk+YhszsFvXJ5qQP1FtxcnBY1ZtaWCzLU fchP7KAvj1Okp1UnqAFmcXvXXFZrSOyHCLVF/vnjUt1BsQjBy6VnVSxTDZYIvqc6SRQncD EBnveo4jzDuio7ldjDbs4aA8QOksxxxvQtZALjQrmhJls8MUKaQ0ux1See/Vnv63CLY2MV H2U3ayIqb9IAxIZsFHLLs6C5H7ZtUP54Kq6XW5QVGwRKkQeJY+uJuuP2yxE77In8Ngq9QI PJjnLD9gLQtbcXarPuIjb5tTVLG/C9GRIH45X44UTzwzoPE0Gfbq36w2h0BXMA== From: Luca Ceresoli Date: Tue, 16 Apr 2024 07:56:18 +0200 Subject: [PATCH 12/12] ASoC: doc: dapm: update event types Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240416-dapm-docs-v1-12-a818d2819bf6@bootlin.com> References: <20240416-dapm-docs-v1-0-a818d2819bf6@bootlin.com> In-Reply-To: <20240416-dapm-docs-v1-0-a818d2819bf6@bootlin.com> To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Jonathan Corbet Cc: Alexandre Belloni , Thomas Petazzoni , linux-sound@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.13.0 X-GND-Sasl: luca.ceresoli@bootlin.com Some new event types now exist, so update the code fragment. Signed-off-by: Luca Ceresoli --- Documentation/sound/soc/dapm.rst | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Documentation/sound/soc/dapm.rst b/Documentation/sound/soc/dapm.rst index 75a85c9e33ff..f76fc97dd162 100644 --- a/Documentation/sound/soc/dapm.rst +++ b/Documentation/sound/soc/dapm.rst @@ -405,13 +405,16 @@ See soc-dapm.h for all other widgets that support events. Event types ----------- -The following event types are supported by event widgets. -:: +The following event types are supported by event widgets:: /* dapm event types */ - #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */ - #define SND_SOC_DAPM_POST_PMU 0x2 /* after widget power up */ - #define SND_SOC_DAPM_PRE_PMD 0x4 /* before widget power down */ - #define SND_SOC_DAPM_POST_PMD 0x8 /* after widget power down */ - #define SND_SOC_DAPM_PRE_REG 0x10 /* before audio path setup */ - #define SND_SOC_DAPM_POST_REG 0x20 /* after audio path setup */ + #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */ + #define SND_SOC_DAPM_POST_PMU 0x2 /* after widget power up */ + #define SND_SOC_DAPM_PRE_PMD 0x4 /* before widget power down */ + #define SND_SOC_DAPM_POST_PMD 0x8 /* after widget power down */ + #define SND_SOC_DAPM_PRE_REG 0x10 /* before audio path setup */ + #define SND_SOC_DAPM_POST_REG 0x20 /* after audio path setup */ + #define SND_SOC_DAPM_WILL_PMU 0x40 /* called at start of sequence */ + #define SND_SOC_DAPM_WILL_PMD 0x80 /* called at start of sequence */ + #define SND_SOC_DAPM_PRE_POST_PMD (SND_SOC_DAPM_PRE_PMD | SND_SOC_DAPM_POST_PMD) + #define SND_SOC_DAPM_PRE_POST_PMU (SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMU) -- 2.34.1