Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1298430lqa; Mon, 29 Apr 2024 04:49:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIQ4BV85qppg9vwbZKANXXQ9Q4Y1d27+36KhBpbkYpeTsjlM99XqumfGVlbLInT644Sf+keayhQQ3p3nRsLoqZl1pO8AIXcUq3mxXdBA== X-Google-Smtp-Source: AGHT+IHwnxpAHKpfchJNrqBjvqqe0x1E4hPqIes5tvbMhTU8WkvZEacGyw3qt1r/UcuK+YPQl+/u X-Received: by 2002:a9d:75c4:0:b0:6ee:3e22:83cb with SMTP id c4-20020a9d75c4000000b006ee3e2283cbmr1922082otl.16.1714391348156; Mon, 29 Apr 2024 04:49:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714391348; cv=pass; d=google.com; s=arc-20160816; b=tgiHT0RUntc4N4cbdRnKAlTCVMD29biYf05FWDDuK9C10z+iVHiEaWzj/KMX6BbhOj /7xkuESkghmhOX8JmbdtLmbJZ6fdrC8hrGBHY0Q5c6OrhfNCC2gDIBJypIyj+cWB/JtN tuzs/wA20u8FcVF4C5uiQOfUCIO6jyOPgOSNR65fM47CZ227QnsogBHwzw2iqCoke83J CFErVNJe/QS6zqlLmEBBrvvmmYFA9/0jr62CECk7KyqhLt9dmn5K3BptShC6FP+YU2GM WGcflgrwwmPg0Izy5dWobBc3e3AQ2656+zuR4/6sW1R47JweCut1Ckflcz6XAAHUUqXn KAeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=zgF7uDK3ODdULvp2AprCnsXD0Ii385XkEkpICxLIUP8=; fh=x7w/xtwgUtJJZulBg7iPy5vmMZ2fDtPXlQSINg1wSK8=; b=YXpzUQ0nBfFooqqixLNXRRTUz0jxjpQ1xcD5DNDaRUeOm9W5hnwePiBMVP89kCrXDo kzbOF/2raGx8td9L9TkgeMX09/FvFz6q0RaRRUSYyBcSeeqU9BLA9b/pyEk8Bqnom6/V kfTe0h9AsYduOLRqWgjiq6vSsce2b6vM12ivJzO5UDkhOaNTuiDjzM4vn2RnmzKSt28K nYUEb9zTrSaYZ99S1EeO7eiw+3uMHoxhFOX6iGSjp0vQGlWs4efKhw1mat5Rg8M9MZTd cSITLMls8Ui31+VHTqyvcSMlFwiSpChZL5Ks6jC+0l+07dutuqxqBlE+m4M+jAgI6eJR zhsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z3VpVOp/"; 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-162173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i133-20020a636d8b000000b005f7fd4c86ddsi17900208pgc.136.2024.04.29.04.49.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:49:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z3VpVOp/"; 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-162173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162173-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BE14D286FF5 for ; Mon, 29 Apr 2024 11:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 219F44DA0D; Mon, 29 Apr 2024 11:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z3VpVOp/" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 BD87B4D583 for ; Mon, 29 Apr 2024 11:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714391341; cv=none; b=J2Lk6g7Mp9XWpdVvruoWwbLCcCHSsUqipkSZghsGmqgVNwkQsoXZgfDUvsxDb1+iIfla598ZNKhGsBeXWg7Mu1SERDDA6K0JbXv0XZm9GOFsXtj6NVlyTQFYDkGAVvDsl655npsILbUpQB/yhg07EUhSYfR8FTJlVEhBvVJNPug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714391341; c=relaxed/simple; bh=8hlbxDVsli5Uho2Dc9zk1d5MLlzWuHE+5PgzBXH717k=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=QyLjnnG2/V2n89A4SOTjW0vu/zdKFiD/gaH0llegXBW84UfIqdfCKjyq3MO8PO3zo6GV3Cd/BepCYCzNnROxBm+8Gm52I8ckujt63Pk+2VyQA5llihFoGGOLK9WHxgHtnMgAIe8KoVYNw7rhNnB03RlZuCOLOWMpuqCw6XuRcis= 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=Z3VpVOp/; arc=none smtp.client-ip=209.85.218.42 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-ej1-f42.google.com with SMTP id a640c23a62f3a-a5894c1d954so61304966b.1 for ; Mon, 29 Apr 2024 04:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714391337; x=1714996137; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=zgF7uDK3ODdULvp2AprCnsXD0Ii385XkEkpICxLIUP8=; b=Z3VpVOp/fj9skUzNvQ2I4DpBywBiTsU2dpEHUtnsnHt0gxrb11EmBY8BXUzkzwGk+A Dh63MlkW5TzpYLqy8o+EO2dKXMh6Cal/C8F8sN8FpqvA3A0ty27v5cPmcrwr2vOg7IL8 m1XsKekfTnCTXl9FMeJO9u5i1dZi3G6FLtfx2J4EBTi6Dve1ET4Gz7LPWmaTJ41DcWtF 7y8vaxQPSghUs68i/PBet4TrpEM9D8B802vn99G28aZlIKCgDIL44SJ0B4yQ/mPl1xIu lOS0UWyMYXW7GrEzo5GUGjb664LMsghQdVKqqKBZ0Ys8e3rg0JJ1N2usE0e3YryvYx1x fGxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714391337; x=1714996137; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zgF7uDK3ODdULvp2AprCnsXD0Ii385XkEkpICxLIUP8=; b=tybyX5GyIDL8GJP4K2Ea/8XpBWbMA1m360iSc1Lm+ZezocC9GR6TC9jYd93y+dr5rU A5QRXs3vdnpk2Ry9rlVUYHYfi+HNb951kaI3p0LHtf4QumJljSFKTSXvoQYbS1LFBwGq gK1rAiPe2zR9qB2afWgIaV06zO9QovQdbXClrW353vObgJy87TdnXc2LKAjvZQS7HarM CXu4QACGNDr5eloighzh0FlvfoAADRe7nS8ecXuUJcbi+qXnAsU6hn9tfeRdKQruIN8Z YJl7p/JbrffhA1WXXrjSmaxyqSlIQ3A44apHVfne8qEtUoEnDerGoJ6gKPGj/ok3IGY+ cJ6A== X-Forwarded-Encrypted: i=1; AJvYcCVszOCwttzFS5Fqi1pJ595WQpjc3N4tVfQ/h4T992tvpiLrOF5BLOu6b/UzyYk1IMIt8Yn+/yFjDYzn8kwfDqTplmAMvh/mN4SVmFRA X-Gm-Message-State: AOJu0Yy15fVOoM+gCWkex8z94lf+/VJ9AV7ZgH7o0FcBXGrmGGEvb4Vl vawMWltVp6wmVlA6mPNsR41rVXYlKkIZC71Pl/apv/+Blccd0nRL6VnsJI9rG7c= X-Received: by 2002:a50:99c7:0:b0:572:3f41:25aa with SMTP id n7-20020a5099c7000000b005723f4125aamr8735212edb.11.1714391336676; Mon, 29 Apr 2024 04:48:56 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id y43-20020a50bb2e000000b0057000a2cb5bsm13549651ede.18.2024.04.29.04.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:48:56 -0700 (PDT) From: Krzysztof Kozlowski Subject: [PATCH 0/4] ASoC: Constify static snd_pcm_hardware Date: Mon, 29 Apr 2024 13:48:45 +0200 Message-Id: <20240429-n-asoc-const-snd-pcm-hardware-v1-0-c6ce60989834@linaro.org> 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 X-B4-Tracking: v=1; b=H4sIAB2JL2YC/x3MQQqDQAwAwK9Izg1sFwXrV8RDyMaaQ7OSFFsQ/ 96lx7nMCSGuEjB1J7gcGlqt4X7rgDeyp6CWZsgp96nPDzSkqIxcLd4YVnDnF27k5UMuuCYaqMg 4DkzQjt1l1e//n5fr+gFMAIkPbwAAAA== To: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Shengjiu Wang , Xiubo Li , Fabio Estevam , Nicolin Chen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Jerome Brunet , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Kunihiko Hayashi , Masami Hiramatsu Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1038; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=8hlbxDVsli5Uho2Dc9zk1d5MLlzWuHE+5PgzBXH717k=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmL4kgxXlqNnnMKJpg2EaIkw0QWwus3XmTLMuWB hWfdwwddXWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZi+JIAAKCRDBN2bmhouD 14MsD/4wk/fFPGuo07Tc6t4ZBVVny/yf56kqMyV3UPs7GTN7fgENz4Vs5Gin8llVwv9nvvbIrfh cBrBJ53HMb7tMNtKDhoCjXLKV6y/XFF3OcjnUu8dFKF9+HWsntLk2pUa7XZf/m3xuCoFz+I2+2X FtEvt7tK7J1L1CbOP082IC4ZkhfTVvhN7VjqiC1AcntknqAwCKb5II6RAtl044X2cAgHBFXI7B1 Qo/+a8PGKa0K0uBnIoHoNp75nHACjabA/jn601auP/o6zvNEBbjmG/1jviOgBIo6/+12fvjPqxx E9EcND0vFAI4b2W8IiR2Xg4uWuTtkzGOQ8gVmSQMUY/Xqhgulo8rrUYpnIV5JlSObZpNZstIdHZ 3di//AnjPfGRIgVC0kO6jiOPGtCi/WnZe8zyg1tkArBgsmXLIXbuACRbR90yWnYeWGk0Ny8w76f T0pJ7kVVgxhVy84se9GzdxXC3V4bBs8KB0UmtCrmfQTKLG/ZcYUIptvLIejPfxSNAnOYcSN4XMu DF8BifoTInlQ+Xw9QYLBMmT5zOa2kXfIiS04T/C0Z55+ur3NPpX35/hwD93URXyFfrBLnClmjbo PHSEi6tWOFhgJAg8kZWEuqJOx4/8mOJxKL+LiIkCVek5bgHt7OxbuIiY10JdZB1Gy6BujtRGdnc RzHz8OsHOxt8zBQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B No dependencies. Static 'struct snd_pcm_hardware' is not modified by few drivers and its copy is passed to the core, so it can be made const for increased code safety. Best regards, Krzysztof --- Krzysztof Kozlowski (4): ASoC: qcom: Constify static snd_pcm_hardware ASoC: fsl: Constify static snd_pcm_hardware ASoC: meson: Constify static snd_pcm_hardware ASoC: uniphier: Constify static snd_pcm_hardware sound/soc/fsl/imx-pcm-rpmsg.c | 2 +- sound/soc/meson/aiu-fifo-i2s.c | 2 +- sound/soc/meson/aiu-fifo-spdif.c | 2 +- sound/soc/meson/aiu-fifo.h | 2 +- sound/soc/meson/axg-fifo.c | 2 +- sound/soc/qcom/qdsp6/q6apm-dai.c | 4 ++-- sound/soc/qcom/qdsp6/q6asm-dai.c | 2 +- sound/soc/uniphier/aio-dma.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) --- base-commit: ebbaba914053d8bcadd7d64eb8d2555299509a27 change-id: 20240429-n-asoc-const-snd-pcm-hardware-f0a5ade885ca Best regards, -- Krzysztof Kozlowski