From: kernel test robot <lkp@intel.com>
To: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Neil Armstrong <neil.armstrong@linaro.org>
Subject: [superna9999:topic/sm8650/ayaneo-pocket-s2/pmos-v4 24/31] sound/soc/qcom/sc8280xp.c:176:13: error: use of undeclared identifier 'LPAIF_MI2S_MCLK'
Date: Sat, 13 Jun 2026 16:13:11 +0800 [thread overview]
Message-ID: <202606131609.RqRpHPLB-lkp@intel.com> (raw)
tree: https://github.com/superna9999/linux topic/sm8650/ayaneo-pocket-s2/pmos-v4
head: 2990bb85e68d401720ce49038f3e512d7eb1a389
commit: 82a9dc5108c057c67137a9d9bcab231d4989eccf [24/31] ASoC: qcom: sc8280xp: ASoC: qcom: sc8280xp: enhance machine driver for board-specific config
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606131609.RqRpHPLB-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131609.RqRpHPLB-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606131609.RqRpHPLB-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/qcom/sc8280xp.c:176:13: error: use of undeclared identifier 'LPAIF_MI2S_MCLK'
176 | LPAIF_MI2S_MCLK, mclk_freq,
| ^~~~~~~~~~~~~~~
>> sound/soc/qcom/sc8280xp.c:181:13: error: use of undeclared identifier 'LPAIF_MI2S_BCLK'
181 | LPAIF_MI2S_BCLK, bclk_freq,
| ^~~~~~~~~~~~~~~
2 errors generated.
vim +/LPAIF_MI2S_MCLK +176 sound/soc/qcom/sc8280xp.c
154
155 static int sc8280xp_snd_hw_params(struct snd_pcm_substream *substream,
156 struct snd_pcm_hw_params *params)
157 {
158 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
159 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
160 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
161 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
162 int mclk_freq = sc8280xp_get_mclk_freq(params);
163 int bclk_freq = sc8280xp_get_bclk_freq(params);
164
165 switch (cpu_dai->id) {
166 case PRIMARY_MI2S_RX ... QUATERNARY_MI2S_TX:
167 case QUINARY_MI2S_RX ... QUINARY_MI2S_TX:
168 snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP);
169
170 if (data->snd_soc_common_priv->codec_dai_fmt)
171 snd_soc_dai_set_fmt(codec_dai,
172 data->snd_soc_common_priv->codec_dai_fmt);
173
174 if (data->snd_soc_common_priv->mi2s_mclk_enable)
175 snd_soc_dai_set_sysclk(cpu_dai,
> 176 LPAIF_MI2S_MCLK, mclk_freq,
177 SND_SOC_CLOCK_IN);
178
179 if (data->snd_soc_common_priv->mi2s_bclk_enable)
180 snd_soc_dai_set_sysclk(cpu_dai,
> 181 LPAIF_MI2S_BCLK, bclk_freq,
182 SND_SOC_CLOCK_IN);
183
184 if (data->snd_soc_common_priv->codec_sysclk_set)
185 snd_soc_dai_set_sysclk(cpu_dai,
186 0, mclk_freq,
187 SND_SOC_CLOCK_IN);
188 break;
189 default:
190 break;
191 }
192
193 return 0;
194 }
195
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-13 8:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202606131609.RqRpHPLB-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mohammad.rafi.shaik@oss.qualcomm.com \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox