Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp400717lqb; Tue, 16 Apr 2024 22:15:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUpIyN/qamz52hL5b0oz105FdUMAJmTG52p4+jhhwoi9PDUtp84ETbMTkHR9YuStYfseIa+vB/h44817jYwBoMzh4E68qTT5/RrUhEuA== X-Google-Smtp-Source: AGHT+IFMLmbc/xQNuDZBxCAM9ozhrvD57gNT1tczJndR4Enf9k7v4MeORy5hyeqCqAKgn2kxlMfQ X-Received: by 2002:a17:903:11cd:b0:1dd:dcd3:662c with SMTP id q13-20020a17090311cd00b001dddcd3662cmr6884630plh.4.1713330908723; Tue, 16 Apr 2024 22:15:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713330908; cv=pass; d=google.com; s=arc-20160816; b=VuITXe1fgknrQuS07zqd7zbnaWEH49DpUNsPR6P+0HuJgPE8efCYV5k3ypLgYOZzDx /P1bXF0fINr1ZMkbw8O25JAe/eWAz8yYlgU5NvfcMGKJXH1C07S/ouvm8pigm8AS1UsD lJCBYKkrpk7DxteS4BaJIwyk0nCYyacVl6nuocgseC1R85JTIypz9xrhQ7Zy31DAYyBo TB928Y7GyyuYUyVFNvkLEvRF44kq6FZqGoYx26QVBBfO4EfL9/J7/zC5A+hVHtxres6W JKshzkQMHS2I+eOl2jbM1SXWLP5xfbanm3iG/LQ1dq2Wnm3v2ljXJpjU8DP6DmLgwJL+ aBNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=+wO2NVJgGgKxL9AnuBOvlzeMvS5QSt87gBINoPwNkwE=; fh=S5lrZQrhn8Q3HmHb5orI3PvyALGUtzh3hI/72G1Y8S0=; b=re84EMuRnKAdcoHX/J9hTrNc6PbpLL7+IEEFDKHN0YaZdBYq3OIrmXoEu20CITnquw DvdWeHgjnDIdbDFpQ3wzvWobNH6+UFoXkgiu/hanpt666i4JtXqQwjPGDS7luVCh+hsj 0oKfuXPFpQwfdkZ0Wy0cM63LYrD1QCBut6Xfst6Lfa0Hm7SMjy+N77thg6G9EbGsJOWd SN90rVPKLBvDS2Mv4cvI+6iB14U/omaQYKrGaNGK8OLKH/JtVwgkcyxkhRuMJMoJNEP3 yEERM5RwLWhkeUYSg7K3IyJfALVgT2csqcI3KD84Rd8izzv/Q4K2C8d6rGo0cjFs9PG6 G3lA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=yV0cmB0j; arc=pass (i=1 dkim=pass dkdomain=jookia.org dmarc=pass fromdomain=jookia.org); spf=pass (google.com: domain of linux-kernel+bounces-147948-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147948-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.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 t6-20020a170902e84600b001e2bdef3978si10982746plg.317.2024.04.16.22.15.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 22:15:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147948-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=@jookia.org header.s=key1 header.b=yV0cmB0j; arc=pass (i=1 dkim=pass dkdomain=jookia.org dmarc=pass fromdomain=jookia.org); spf=pass (google.com: domain of linux-kernel+bounces-147948-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147948-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.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 65648283313 for ; Wed, 17 Apr 2024 05:15:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8660524B7; Wed, 17 Apr 2024 05:15:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=jookia.org header.i=@jookia.org header.b="yV0cmB0j" Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 0884F52F62 for ; Wed, 17 Apr 2024 05:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713330904; cv=none; b=UW1m4w3VBoPl6AhL1xD9uhZALYbCaKFZP31OXwC5nj1nXmn79O9JlrXnOmGVMLY7aX49wtl5SWSFBRpb6twm0fYhyblpe4veuYu6dDA/9CkVKxrBLHTA5g/z5QkbIb02uaYLx4Kj61Cya2qAQ5Wmi6mvRUCVfetteQyLHY+T2fs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713330904; c=relaxed/simple; bh=ejYuVDMK8hQ3c3/RJmhQWa4DT0PpOPzvnbD7CuzTmag=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=OmWQOs/c9dZsDGKJk0K2tCFxQeByVENeb7ZvV1m9wLu8q+vP9FYXapX11WmoTYuqxaXc8oMaQPMjJyv9p/PlPrMnA0tXc6WvBP/jP9N3Dw2sn6I2n+ivS0jHbHT3SYGruFRdLcPd7MSzNJspC1BNdI5DrahKlzH8vaJYrB+RWyE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=jookia.org; spf=none smtp.mailfrom=jookia.org; dkim=pass (2048-bit key) header.d=jookia.org header.i=@jookia.org header.b=yV0cmB0j; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=jookia.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=jookia.org 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 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: <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 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 --- 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(-) 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; --- base-commit: 66e4190e92ce0e4a50b2f6be0e5f5b2e47e072f4 change-id: 20240417-sunxi_s32_fix-ef5354b40fb4 Best regards, -- John Watts