All of lore.kernel.org
 help / color / mirror / Atom feed
* [morimoto-linux:fw-cleanup-2019-11-13-v2 180/454] sound/soc/intel/boards/bdw-rt5677.c:177:37: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dai'
@ 2019-11-15  9:42 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-15  9:42 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3196 bytes --]

tree:   https://github.com/morimoto/linux fw-cleanup-2019-11-13-v2
head:   0c62b9a75f01baceac377b92daa288c4e59ee926
commit: 55c18bd00c414457f44b1b15491ba1a40a44d239 [180/454] ASoC: soc-core: remove cpu_dai/codec_dai/cpu_dais/codec_dais
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout 55c18bd00c414457f44b1b15491ba1a40a44d239
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   sound/soc/intel/boards/bdw-rt5677.c: In function 'bdw_rt5677_dsp_hw_params':
>> sound/soc/intel/boards/bdw-rt5677.c:177:37: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dai'
     struct snd_soc_dai *codec_dai = rtd->codec_dai;
                                        ^~

vim +177 sound/soc/intel/boards/bdw-rt5677.c

2d995e5dc283ad John Keeping    2016-08-24  172  
ba0b3a977ecf52 Curtis Malainey 2019-11-05  173  static int bdw_rt5677_dsp_hw_params(struct snd_pcm_substream *substream,
ba0b3a977ecf52 Curtis Malainey 2019-11-05  174  	struct snd_pcm_hw_params *params)
ba0b3a977ecf52 Curtis Malainey 2019-11-05  175  {
ba0b3a977ecf52 Curtis Malainey 2019-11-05  176  	struct snd_soc_pcm_runtime *rtd = substream->private_data;
ba0b3a977ecf52 Curtis Malainey 2019-11-05 @177  	struct snd_soc_dai *codec_dai = rtd->codec_dai;
ba0b3a977ecf52 Curtis Malainey 2019-11-05  178  	int ret;
ba0b3a977ecf52 Curtis Malainey 2019-11-05  179  
ba0b3a977ecf52 Curtis Malainey 2019-11-05  180  	ret = snd_soc_dai_set_sysclk(codec_dai, RT5677_SCLK_S_PLL1, 24576000,
ba0b3a977ecf52 Curtis Malainey 2019-11-05  181  		SND_SOC_CLOCK_IN);
ba0b3a977ecf52 Curtis Malainey 2019-11-05  182  	if (ret < 0) {
ba0b3a977ecf52 Curtis Malainey 2019-11-05  183  		dev_err(rtd->dev, "can't set codec sysclk configuration\n");
ba0b3a977ecf52 Curtis Malainey 2019-11-05  184  		return ret;
ba0b3a977ecf52 Curtis Malainey 2019-11-05  185  	}
ba0b3a977ecf52 Curtis Malainey 2019-11-05  186  	ret = snd_soc_dai_set_pll(codec_dai, 0, RT5677_PLL1_S_MCLK,
ba0b3a977ecf52 Curtis Malainey 2019-11-05  187  		24000000, 24576000);
ba0b3a977ecf52 Curtis Malainey 2019-11-05  188  	if (ret < 0) {
ba0b3a977ecf52 Curtis Malainey 2019-11-05  189  		dev_err(rtd->dev, "can't set codec pll configuration\n");
ba0b3a977ecf52 Curtis Malainey 2019-11-05  190  		return ret;
ba0b3a977ecf52 Curtis Malainey 2019-11-05  191  	}
ba0b3a977ecf52 Curtis Malainey 2019-11-05  192  
ba0b3a977ecf52 Curtis Malainey 2019-11-05  193  	return 0;
ba0b3a977ecf52 Curtis Malainey 2019-11-05  194  }
ba0b3a977ecf52 Curtis Malainey 2019-11-05  195  

:::::: The code at line 177 was first introduced by commit
:::::: ba0b3a977ecf525231d36f2d9f3a6ea05c35090a ASoC: rt5677: Set ADC clock to use PLL and enable ASRC

:::::: TO: Curtis Malainey <cujomalainey@chromium.org>
:::::: CC: Mark Brown <broonie@kernel.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 48322 bytes --]

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

only message in thread, other threads:[~2019-11-15  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15  9:42 [morimoto-linux:fw-cleanup-2019-11-13-v2 180/454] sound/soc/intel/boards/bdw-rt5677.c:177:37: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dai' kbuild 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.