Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1863148lqp; Mon, 15 Apr 2024 22:58:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjkBLjTV7ngATbuzHciieo71Be14XiVlQNkjEW0dVoEWlEYQRuugp4f0kpQrHTDJ81gSjBBCFXylL7Ffhm8jOhpwFEwX7+Zvrjpk0ZBA== X-Google-Smtp-Source: AGHT+IGijD5sz9iwWvXhTq38i4P1ElIvKpww+wUJ544Xv60EqMQbqdxHOjw+mGcW1BngHSFGFaBj X-Received: by 2002:a05:6a20:3d8a:b0:1a3:4863:f70e with SMTP id s10-20020a056a203d8a00b001a34863f70emr12922932pzi.46.1713247119960; Mon, 15 Apr 2024 22:58:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713247119; cv=pass; d=google.com; s=arc-20160816; b=trsiLKME66O12EyS2irIE+weaweYHm1VBA/c5pVeFVyL9H73UZLiQSzzuiqDNA+Zh5 pU1EC5v3a6OW0k0/dcMLhf4WZx/JBzhI6FXbV0Trga6yC3MwMJkke4Au8Amq3OTsHhb5 xMkv2+6UYJtalZ9LtUPaAY0ynV/4K5YrL7YqyO8Y+FwhTEIrK3t3tgPCq/KHvel4l1x1 zVWFDdV5BzQtBWIAm+veAXsd1b6PWAKbrNHK1++6vITC33l5Nf4IEnjfFvxlC+DHe84c /RZ/lT6T6U5TYxPE8/DtdBnHObTi0k1tAZHy/iJgGsR+zSeHdfGJXRctkAQNQGF9g+d7 yC/Q== 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=p1gKTZTbM5i3YvX9k1E5G0MG67ZU6ZM1oZhyfUs3KBw=; fh=RpUkPCO1yB9SrvCZK9/H1csNKJkfhSEm0lTOtlRGhag=; b=kKYBm9iwfWktRcqDx83X30rsxZV4f2L4Rc05r/sPOYyTqeIWnE7hAYCN012m8RWYL/ dh2/C8m7ZdpnbQJIo7LmVlFF5xQMKJpz2ubQVi7Lq34VXhyG8fMUqS8VL9bJXIRwis4k /wmn15DAo3zy0lHArIX+eXHXMutQQIc2vN7m+u191020PpSOJo47kYdDOwQWLl7+kdv3 +h9rEwNuQqIC7kFUD7w7+EAwNwgDfMY5HsJqavEU/TkwR9AiqrnpGufxnqD8P57Te0Gq Rv9RCZ1634aFoTR/sSTsd/oVycn7FrNa4FNVR+lNgEkruHiE7ySos+ii7U1e1tpnfYZi kHvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=grZHN6ot; 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-146297-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146297-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t20-20020a639554000000b005e3cdf125easi9023496pgn.612.2024.04.15.22.58.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 22:58:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146297-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=grZHN6ot; 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-146297-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146297-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8F1E5B22D25 for ; Tue, 16 Apr 2024 05:57:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0ED155EE67; Tue, 16 Apr 2024 05:56:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="grZHN6ot" 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 6D3065BACB; Tue, 16 Apr 2024 05:56:40 +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=1713247002; cv=none; b=fIFBdZ2hUwD5z904/LQeoQYID4zEPKIG3m8tkHVjcFozfqw3gOa4TssZI67YZOfcr12VfHq5xLbC74wDLpC/X3+Uzf5CdkXEO6ECDVLkrEId+Qmybx6bWJi+lK5lCEgCu+BXD3Bd62y+O7nD5xg3zyLt+otFy8bsBGjgTV/JShY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713247002; c=relaxed/simple; bh=/q9wubkivGEbctuzAxXEJE9bOlNQjNL2qpWg+Go76xY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oS0nUYsTHoPHaXOCQ9k4FARw5FvBun4vt5QItIm8h8K7QDKi+whFWD8jyeyFRZHeN9Q1C0DnhUvrJYzhUdZd8InmmHGcfFUeoaJoBx64ZxpI2oPKH9FlyPeH8sUEEG6V/s4UUikfU5623aNP0ynA137DaZgnV4/U4nUEIVcR4nY= 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=grZHN6ot; 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 BF71D240008; Tue, 16 Apr 2024 05:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713246999; 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=p1gKTZTbM5i3YvX9k1E5G0MG67ZU6ZM1oZhyfUs3KBw=; b=grZHN6otZdV8BZ2w2M9XxruzuXiGs8WriPq9tTCjr2I1vdJA1K0sYa85xkF3tA84pc2HdS QbzsVQ+NOi0ardeCRxbmqHnNA7WHkWqr+1KmVxsAkTz8AaYBJgL+QVKZYJgi6n4VXb7rHl vs2cGfCd7yo6Z6EHULsEoFRpXgGgDGdqHOCA8vh+j/A/CJe/0Yn9X6VMsnwT2XpyphSc6D Vzzd882SIXLOGeFZ0sOjAxpagCjbi8vAkCDDGjrPiECnLlk9dsLC536R+Jp1RcdYEDHhDG 6OQLNy365ivTXAhJ8z08g4jrYFvALOWJVT4OjfcXrTrE7I+IDl9AP5hUH/A+8w== From: Luca Ceresoli Date: Tue, 16 Apr 2024 07:56:11 +0200 Subject: [PATCH 05/12] ASoC: doc: dapm: clarify it's an internal API 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-5-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 Clarify DAPM does not expose any API to user space, and adapt the paragraph accordingly. Signed-off-by: Luca Ceresoli --- Documentation/sound/soc/dapm.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/sound/soc/dapm.rst b/Documentation/sound/soc/dapm.rst index e3b399201622..4200bcf18fcd 100644 --- a/Documentation/sound/soc/dapm.rst +++ b/Documentation/sound/soc/dapm.rst @@ -11,9 +11,10 @@ all times. It is independent of other kernel power management frameworks and, as such, can easily co-exist with them. DAPM is also completely transparent to all user space applications as -all power switching is done within the ASoC core. No code changes or -recompiling are required for user space applications. DAPM makes power -switching decisions based upon any audio stream (capture/playback) +all power switching is done internally to the ASoC core. For this reason +DAPM does not expose a kernel API to user space and no code changes or +recompiling are required for user space applications to use it. DAPM makes +power switching decisions based upon any audio stream (capture/playback) activity and audio mixer settings within the device. DAPM spans the whole machine. It covers power control within the entire -- 2.34.1