From patchwork Wed Apr 17 05:14:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Watts X-Patchwork-Id: 13632875 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CBFF6C4345F for ; Wed, 17 Apr 2024 05:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:MIME-Version:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9S13rhXJRkHG5ZFMOo1ar8MTQxDUACizz3TlDcwSzsQ=; b=Tstb8/VaawCYzX FZbnejbusOjjAChW9b0wCERVt3Hum6x3QxC1MomNeKB0B/OGf46H04vcC6fxXTMw0rEDiNB9jfftA tm0qRazHQIa5Qnea4Gs0Kql/a8yQNezvRsV+npPaQ47e9t91cBqPWPApvPRMMwT0MwSK8TCq+qJRK 3ZfrKlf0QGMTb7iQisFWfKqPwSwGjpoRucrdRCt8LEEVno4DvHmOva7dxrr3paVITyEmE48IhrXg6 GrOSsjJfDJG+WVrATF2MdW0q/D+J7DhfpbLfh3uhBFPtSUYLTnmaam3QZ2AOhcuplptQPqOAIBwQW nfs8uPUo4cFMPUDDmocA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwxdS-0000000EkVO-2QfT; Wed, 17 Apr 2024 05:15:06 +0000 Received: from out-182.mta1.migadu.com ([95.215.58.182]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwxdP-0000000EkUC-2oUm for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2024 05:15:06 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1713330896; 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; bh=+wO2NVJgGgKxL9AnuBOvlzeMvS5QSt87gBINoPwNkwE=; b=yV0cmB0juL+gE4drGnEPB+Xk5XISypajXJXqLKpewPtGxn4U+IS7Zsfv9xgrhLvHVRljhd /YAmLU+jDFgpV8fbY0JjP7Lq0fd3A4Rug6xYw2Xz+thgXdwe1EWLjykviCKDEvBTFBxZVY 65Y3HMcWmCh6MLGO7J28vBoVANlKoU5gvyQA0Y+P+azWNXK494UrVXoubWHbwLLwOOuhzB sIkfP5DFotpKQZWdwlLW4P1hVoA8PwyJMKcix+fgc0zS16cjVVYDBMVNrwErWAlGmu3oIr 2m+rUm3qj8OiEOS92HavDCnPNeO+KzdqYwMqBNjVo9no3b1AXIFsGCFLerHqEA== From: John Watts Date: Wed, 17 Apr 2024 15:14:43 +1000 Subject: [PATCH] ASoC: sunxi: sun4i-i2s: Fix pcm_formats type specification MIME-Version: 1.0 Message-Id: <20240417-sunxi_s32_fix-v1-1-d82e451565c0@jookia.org> X-B4-Tracking: v=1; b=H4sIAMJaH2YC/x2MQQqAIBAAvxJ7TjBdCfpKRGSttRcLl0KQ/p50n IGZAkKJSWBoCiR6WPiMFbq2gfVY4k6Kt8pgtEGNXa/kjplnsWYOnBUFZx161MEj1OZKVPX/G6f 3/QDEL4kjXwAAAA== To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, kernel test robot , John Watts X-Developer-Signature: v=1; a=openssh-sha256; t=1713330884; l=1490; i=contact@jookia.org; h=from:subject:message-id; bh=ejYuVDMK8hQ3c3/RJmhQWa4DT0PpOPzvnbD7CuzTmag=; b=U1NIU0lHAAAAAQAAAEoAAAAac2stc3NoLWVkMjU1MTlAb3BlbnNzaC5jb20AAAAgpGuA3uho2 8zVxm554DVLHyl4gq5/nBHglU5WIWN8/zYAAAAEc3NoOgAAAAZwYXRhdHQAAAAAAAAABnNoYTUx MgAAAGcAAAAac2stc3NoLWVkMjU1MTlAb3BlbnNzaC5jb20AAABA0GgHA+q2gKda09EGULTSaiS 2/DdtY5KQbmfXmCRvUveV9K+PrfFhcZr7UTMaGjmtXlHZf8vs8mEGa+TKZk6GDgUAAOoA X-Developer-Key: i=contact@jookia.org; a=openssh; fpr=SHA256:6LBQmZH5u7i/edmEZXzCTwCrpSevs/ZshZxNmlD1thY X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_221504_385578_836CDC33 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pcm_formats should be a u64 as it is a SNDRV_PCM_FMTBIT_* not a SNDRV_PCM_FORMAT_*. Also fix a small grammar error while we're here. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404170103.ySYwieqi-lkp@intel.com/ Signed-off-by: John Watts Acked-by: Jernej Skrabec --- This is a quick fix for a type error found by the kernel test robot. --- sound/soc/sunxi/sun4i-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- base-commit: 66e4190e92ce0e4a50b2f6be0e5f5b2e47e072f4 change-id: 20240417-sunxi_s32_fix-ef5354b40fb4 Best regards, diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 59830f2a0d30..5f8d979585b6 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -156,7 +156,7 @@ struct sun4i_i2s; /** * struct sun4i_i2s_quirks - Differences between SoC variants. * @has_reset: SoC needs reset deasserted. - * @pcm_formats: available PCM formats + * @pcm_formats: available PCM formats. * @reg_offset_txdata: offset of the tx fifo. * @sun4i_i2s_regmap: regmap config to use. * @field_clkdiv_mclk_en: regmap field to enable mclk output. @@ -176,7 +176,7 @@ struct sun4i_i2s; */ struct sun4i_i2s_quirks { bool has_reset; - snd_pcm_format_t pcm_formats; + u64 pcm_formats; unsigned int reg_offset_txdata; /* TX FIFO */ const struct regmap_config *sun4i_i2s_regmap;