From mboxrd@z Thu Jan 1 00:00:00 1970 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 3B933E77188 for ; Tue, 14 Jan 2025 09:12:06 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LSUBg6kDjVF1qThoFvUT6kqXNuQ+KrvoE/Se53jC8Og=; b=PJA4C/QOOEwtBT kHy5gpbOVdIl8NAyclgSOU+m+A6QhcFJhkMFXxBhBPDJejYJsn8JanundriWiwp+1PwHZ00uK1pUw kJEzgiua6axHTdY+ViUBtCUT7rvKbog3E/mE90we4VnQRWaB4UQZiO0I4oqpknsoakAaD9TQbYcih vQJUiwrVKOA8PvzKfEFKYdCsou+T1FJP4SFi/Kyd4qKcgm8rDNkBESKk6ogLnvfL7JXs8G/THSro7 pwWRxq1fNPgrYK50kTghCNelQ4mdYq4tNNFERMhdJYF2e4TYJhqn54MG7XyZP4vWIqMnBw56oX9Sk zmNTkrqKFtFz4Zbe2Lxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tXcxs-00000007v6Y-3SSu; Tue, 14 Jan 2025 09:12:00 +0000 Received: from mgamail.intel.com ([192.198.163.10]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tXcwc-00000007utd-0PyZ; Tue, 14 Jan 2025 09:10:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736845842; x=1768381842; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KWR1i4NTTXotSiVPXRJjXMkD1sNo2WV+XgKVBQLu3mQ=; b=jGsU3i9MuoueTi0tIpiohQ6YZNfaqNxRDHQ9yVELM4s0tloljHY1TysX 5aiuQViUhRzpjM9VXvbJi5a69k9eIOSlTbIHf5xnEd2faA30gWpf52Wdt /a15vyBn2DgDllzi1kUoxLCX7VgrQ0pLl4/6fRst0vwFutFDH+Pg8cJBN vZCK6AgyY1pCfCci92lGnVUCgJtQ2ZmP6Mpm8oO5UaUQVTNnqYywbjU9u p/myHHCjdn9stIrd7sPPSe1T5fgMElJ9KOZ8yhDfvXHTy+0YtaEf6hrVr By7nqw6l1mZM+J7Yzk/2/X9XYQlE3ywUOzkYFNCdyfFejr6ZsImlf/3EY g==; X-CSE-ConnectionGUID: OdRzRPjiTxukWm0e9Yk0rQ== X-CSE-MsgGUID: jVKZcp0ARrSFgQ5p++aMig== X-IronPort-AV: E=McAfee;i="6700,10204,11314"; a="48540886" X-IronPort-AV: E=Sophos;i="6.12,310,1728975600"; d="scan'208";a="48540886" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2025 01:10:38 -0800 X-CSE-ConnectionGUID: PdmIumZiS9W+o8d+jtbXRw== X-CSE-MsgGUID: DFjBuiTqSAm7ZBTfTTupAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,313,1728975600"; d="scan'208";a="104572870" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 14 Jan 2025 01:10:34 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tXcwS-000OJf-0i; Tue, 14 Jan 2025 09:10:32 +0000 Date: Tue, 14 Jan 2025 17:09:37 +0800 From: kernel test robot To: jiebing chen via B4 Relay , Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Neil Armstrong , Kevin Hilman , Martin Blumenstingl Cc: oe-kbuild-all@lists.linux.dev, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, jiebing chen Subject: Re: [PATCH 2/3] ASoC: meson: s4:support for the on-chip audio Message-ID: <202501141658.tM15P1iG-lkp@intel.com> References: <20250113-audio_drvier-v1-2-8c14770f38a0@amlogic.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250113-audio_drvier-v1-2-8c14770f38a0@amlogic.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250114_011042_156775_304DD02B X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Hi jiebing, kernel test robot noticed the following build warnings: [auto build test WARNING on 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab] url: https://github.com/intel-lab-lkp/linux/commits/jiebing-chen-via-B4-Relay/ASoC-dt-bindings-Add-Amlogic-S4-audio/20250113-143911 base: 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab patch link: https://lore.kernel.org/r/20250113-audio_drvier-v1-2-8c14770f38a0%40amlogic.com patch subject: [PATCH 2/3] ASoC: meson: s4:support for the on-chip audio config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20250114/202501141658.tM15P1iG-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250114/202501141658.tM15P1iG-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202501141658.tM15P1iG-lkp@intel.com/ All warnings (new ones prefixed by >>): sound/soc/meson/s4-tocodec-control.c: In function 'aml_tocodec_sel_set': >> sound/soc/meson/s4-tocodec-control.c:151:15: warning: unused variable 'clk_name' [-Wunused-variable] 151 | char *clk_name; | ^~~~~~~~ vim +/clk_name +151 sound/soc/meson/s4-tocodec-control.c 137 138 static int aml_tocodec_sel_set(struct snd_soc_dapm_widget *w) 139 { 140 struct snd_soc_dai *be; 141 struct axg_tdm_stream *stream; 142 struct axg_tdm_iface *iface; 143 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); 144 struct toacodec *priv = snd_soc_component_get_drvdata(component); 145 unsigned int tdm_id = TDM_A_PAD; 146 const char *dai_widget_name; 147 struct snd_soc_dapm_path *p; 148 unsigned int lane = 0; 149 unsigned int val = 0; 150 struct clk *sclk, *mclk; > 151 char *clk_name; 152 int mclk_id, sclk_id; 153 154 be = tocodec_tdm_get_ahead_be(w); 155 if (!be) { 156 dev_err(component->dev, "%s not find the be\n", __func__); 157 return -EINVAL; 158 } 159 stream = snd_soc_dai_dma_data_get_playback(be); 160 if (!stream) { 161 dev_err(component->dev, "%s not find the stream\n", __func__); 162 return -EINVAL; 163 } 164 /*we like to use dai id, but it is fixed val*/ 165 dai_widget_name = be->stream[SNDRV_PCM_STREAM_PLAYBACK].widget->name; 166 if (strstr(dai_widget_name, "TDM_A")) 167 tdm_id = TDM_A_PAD; 168 else if (strstr(dai_widget_name, "TDM_B")) 169 tdm_id = TDM_B_PAD; 170 else if (strstr(dai_widget_name, "TDM_C")) 171 tdm_id = TDM_C_PAD; 172 snd_soc_dapm_widget_for_each_source_path(w, p) { 173 if (p->connect && p->name) { 174 lane = aml_simple_strtoull(p->name); 175 val = lane + tdm_id * S4_LANE_OFFSET; 176 regmap_field_write(priv->field_dat_sel, val); 177 } 178 } 179 iface = stream->iface; 180 mclk = iface->mclk; 181 sclk = iface->sclk; 182 mclk_id = aml_get_clk_id(__clk_get_name(mclk)); 183 sclk_id = aml_get_clk_id(__clk_get_name(sclk)); 184 regmap_field_write(priv->field_mclk_sel, mclk_id); 185 regmap_field_write(priv->field_bclk_sel, sclk_id); 186 regmap_field_write(priv->field_lrclk_sel, sclk_id); 187 188 return 0; 189 } 190 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic