From patchwork Wed Jan 17 16:06:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 188884 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:414:b0:176:5f3:c5eb with SMTP id 20csp772793rwd; Wed, 17 Jan 2024 08:07:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFX6j03gqmyLgcNUuKcKrRkspTEGqCO/mWbZmRAwHNiQxzbZCAO8m8pTMK7nuMIvyucMFMg X-Received: by 2002:a17:902:b190:b0:1d6:efe1:c92e with SMTP id s16-20020a170902b19000b001d6efe1c92emr761831plr.30.1705507636580; Wed, 17 Jan 2024 08:07:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705507636; cv=pass; d=google.com; s=arc-20160816; b=weLiXY7pZP3YSHyYxgG+sKUDCvwMRzcMWma/DVxqPWrIevs7uqtgjiUsXI2QhOz7AW K7DnsGRi6kxD4ueqK8SBKIfHkmfu6+S/jkWiOD//GT/2uaL1MEhpBgnh9P8OsGIxMUm9 owRwS35bDSz01kCwjez5vFZSQn0pnh3QX+B/PB/iTo3O69ZkFyT0finXz0zCarWH0ng5 S73vIbHZaQIXbXiqqWVIV7HUdGg5AttMBWvTaMOagVPl0V3AC81pYoB+y7XT8v1Hh+0B G2p6zsa/g2xljDa0p8BF4EGCc2gw0CS89+USxiGXHctXXoOS7KKWKXh7UjVtV3dwuCUW 6ZdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=n6CX3qh7iRcLJLpXEmtL3DIIxLfD0lORaTLC26UZMxQ=; fh=KyMam65SPfs6CBmIKKxk0Oo8mmpAs1/talKpBOXu4Jg=; b=Q+ZZZZgSDAQ14DRLpGFyJNodOqouggV9La6A2KYt1IEz/43Efn4sOMjVBlFxHkeSok p6JM/pq/76D8dJOynZSZMbMXw7kEjBH9WUoXCW2jW/lL2XjlPUdGR8mhLUT+0iz0ZwSH gTWrMgrdVlV2yUzPKtqxeFNROwre0bU+GoC4TkLQoxN3QXLop6SlF6tGnOQgxP+0tIMw PT7+FMYu/pl0ri6wUUhHaF2stvdt/TKMrnVEagHafSvgqHMIArpRPyAv5hFz5YLh2nR3 rLSit+1DcxmSdGur9H5WXJkdNSGh+VkYrSaQIVaBtVC4j08TZ/zH8Oh/eazYW/3j7wwg nb4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mytQFnx2; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-29184-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29184-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q10-20020a170902c74a00b001d6f2081272si1333113plq.182.2024.01.17.08.07.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 08:07:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29184-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mytQFnx2; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-29184-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29184-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 EAC80B24EC8 for ; Wed, 17 Jan 2024 16:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B1D822335; Wed, 17 Jan 2024 16:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mytQFnx2" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4E77200C9 for ; Wed, 17 Jan 2024 16:06:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705507607; cv=none; b=qfyotcSRoEl4p+0nL9gnjd8QheQCyPmyULa1NGrU6ONmespEvK0ezXT6htqI2r2oV2TrbJEvL7YUJx/yt6wOhvcqt+Pb3Dl7v+3AbbszuWkhdvvajSsoRzaFQP7GkgAxNz50jhSfQytLo+z4EUvRkUaHufiFY2EalUqMG+FYWhs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705507607; c=relaxed/simple; bh=YV0Yd1DxtJ1hOcg0HiwZFSRu7k0ypqXImHkV65MOPAg=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received:From: To:Subject:Date:Message-Id:X-Mailer:MIME-Version: Content-Transfer-Encoding; b=nPfpnzX8sXDX2C7j2R9UKSXdq+maN/HA2bJcN1tBP7KPZyZWrar7zyXsIzpbwrPB6iwsgnalIMVabfe6DPwv0dtZB9LAG5Df+laaDanbNaVVxbF4a0IPQdHSCRC/7KtvNP0bBDkEi7h0v7FnZ6lTXs1S9C0MyWrZvPYAS7LK3Fk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=mytQFnx2; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-559d0ef3fb5so1120581a12.3 for ; Wed, 17 Jan 2024 08:06:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705507603; x=1706112403; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=n6CX3qh7iRcLJLpXEmtL3DIIxLfD0lORaTLC26UZMxQ=; b=mytQFnx2s9HcaRTtGuWx9MrrZ7yvEjN9HG+oo8dlVLetQPTeCrlj4n+hYiMmm63lXH V1fqaEvcFZbRwJkttqJabaio8y472vM5vS309CXpO3jKec6CqHxJNwWdfHpIeK36luI0 PtdrUvXyyyJEyoteqLYA1b4ZobsdDanQEeqlElZJVXx1deDCidM1LTY+j9pKyAZRFpb2 VG0+tGsVcIdhWObLNlnfEB9KD2vkF+8WVYaty3VkYzq25v7C4qVdMct/TK/Kd84f8ofz 6OXBLeNJ1/bgplUNdslS5ZZLIXILn8759JG4cfgHpiKuRgedmF78l/ketRkMsNgRdc6K OnvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705507603; x=1706112403; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n6CX3qh7iRcLJLpXEmtL3DIIxLfD0lORaTLC26UZMxQ=; b=Hbw7atndObKHo8jrLLv1FN0YNiPo7K3jT/rPaS0v+iFjDrXWIbT61H+4qa8osZuGGp qIe3iqTVupJILpz4wt8JS22rEzwdMRJpxnPlG8SgMFYSBXlujDPNdF3NP/tnICUrpUPZ G9kBPdtHMYEe50Cokl/wT4lyCWfNB8oKplPXTuJAGNIJIrqz2Wp1gMd+xOQMavvqVk1e hD/eat2EOqNNVfUMwrcPtE53HMOnyKZOkU4Rc9Zv6GRFi+1m3Q4ZNZickPawH0EX8/9E Gnvp+uOloCWWO8lZxJsFjuVlvbx0WJWpM4eWDfK/cd/Hr2A2mwxuMmiF6R3QKresYu1+ QOBg== X-Gm-Message-State: AOJu0YyExmm8JKwds63ruD3fI3Ymd1420A+BeqkAaPaHQSQUn3Tz5l/N VLpCTkkY4HzazRinFFXmvcViL5h/o/TkrA== X-Received: by 2002:a05:6402:134f:b0:559:43aa:4b83 with SMTP id y15-20020a056402134f00b0055943aa4b83mr2750053edw.64.1705507603171; Wed, 17 Jan 2024 08:06:43 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id h9-20020a0564020e0900b00559736b84ffsm3012063edh.89.2024.01.17.08.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 08:06:42 -0800 (PST) From: Krzysztof Kozlowski To: Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , Jonathan Corbet , Krzysztof Kozlowski , alsa-devel@alsa-project.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] soundwire: stream: add missing const to Documentation Date: Wed, 17 Jan 2024 17:06:39 +0100 Message-Id: <20240117160639.1327266-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788354375171077604 X-GMAIL-MSGID: 1788354375171077604 Commit 21f4c443731f ("soundwire: stream: constify sdw_port_config when adding devices") added const to sdw_port_config argument, but forgot documentation. Fixes: 21f4c443731f ("soundwire: stream: constify sdw_port_config when adding devices") Signed-off-by: Krzysztof Kozlowski --- Documentation/driver-api/soundwire/stream.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/driver-api/soundwire/stream.rst b/Documentation/driver-api/soundwire/stream.rst index b432a2de45d3..2a794484f62c 100644 --- a/Documentation/driver-api/soundwire/stream.rst +++ b/Documentation/driver-api/soundwire/stream.rst @@ -324,12 +324,12 @@ framework, this stream state is linked to .hw_params() operation. int sdw_stream_add_master(struct sdw_bus * bus, struct sdw_stream_config * stream_config, - struct sdw_ports_config * ports_config, + const struct sdw_ports_config * ports_config, struct sdw_stream_runtime * stream); int sdw_stream_add_slave(struct sdw_slave * slave, struct sdw_stream_config * stream_config, - struct sdw_ports_config * ports_config, + const struct sdw_ports_config * ports_config, struct sdw_stream_runtime * stream);