All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2026-06-13  8:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-13  8:13 UTC (permalink / raw)
  To: Mohammad Rafi Shaik; +Cc: llvm, oe-kbuild-all, Neil Armstrong

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-13  8:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-13  8:13 [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' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.