tree:
https://github.com/morimoto/linux for-alsa-soc-test-2019-10-15
head: 92219821536076bf7f35eb907231ee914e8b6ab2
commit: 87bcc065cb9e8706d37f4f03128f686075ac5f2d [195/449] ASoC: soc-core: remove
cpu_dai/codec_dai/cpu_dais/codec_dais
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 87bcc065cb9e8706d37f4f03128f686075ac5f2d
# 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(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/intel/boards/bxt_pcm512x.c: In function 'broxton_hdmi_init':
> sound/soc/intel/boards/bxt_pcm512x.c:43:31: error: 'struct
snd_soc_pcm_runtime' has no member named 'codec_dai'
struct
snd_soc_dai *dai = rtd->codec_dai;
^~
sound/soc/intel/boards/bxt_pcm512x.c: In function 'aif1_startup':
sound/soc/intel/boards/bxt_pcm512x.c:134:39: error: 'struct
snd_soc_pcm_runtime' has no member named 'codec_dai'
struct snd_soc_component *codec = rtd->codec_dai->component;
^~
sound/soc/intel/boards/bxt_pcm512x.c: In function 'aif1_shutdown':
sound/soc/intel/boards/bxt_pcm512x.c:146:39: error: 'struct
snd_soc_pcm_runtime' has no member named 'codec_dai'
struct snd_soc_component *codec = rtd->codec_dai->component;
^~
sound/soc/intel/boards/bxt_pcm512x.c: In function 'init':
sound/soc/intel/boards/bxt_pcm512x.c:154:39: error: 'struct
snd_soc_pcm_runtime' has no member named 'codec_dai'
struct snd_soc_component *codec = rtd->codec_dai->component;
^~
--
sound/soc/intel/boards/bxt_wm8804.c: In function
'snd_rpi_hifiberry_digi_init':
> sound/soc/intel/boards/bxt_wm8804.c:56:40: error: 'struct
snd_soc_pcm_runtime' has no member named 'codec_dai'
struct
snd_soc_component *codec = rtd->codec_dai->component;
^~
sound/soc/intel/boards/bxt_wm8804.c: In function
'snd_rpi_hifiberry_digi_startup':
sound/soc/intel/boards/bxt_wm8804.c:76:39: error: 'struct snd_soc_pcm_runtime'
has no member named 'codec_dai'
struct snd_soc_component *codec = rtd->codec_dai->component;
^~
sound/soc/intel/boards/bxt_wm8804.c: In function
'snd_rpi_hifiberry_digi_shutdown':
sound/soc/intel/boards/bxt_wm8804.c:88:40: error: 'struct snd_soc_pcm_runtime'
has no member named 'codec_dai'
struct snd_soc_component *codec = rtd->codec_dai->component;
^~
sound/soc/intel/boards/bxt_wm8804.c: In function
'snd_rpi_hifiberry_digi_hw_params':
sound/soc/intel/boards/bxt_wm8804.c:98:37: error: 'struct snd_soc_pcm_runtime'
has no member named 'codec_dai'
struct snd_soc_dai *codec_dai = rtd->codec_dai;
^~
--
sound/soc/intel/boards/tgl_rt1308.c: In function 'tgl_hdmi_init':
> sound/soc/intel/boards/tgl_rt1308.c:41:31: error: 'struct
snd_soc_pcm_runtime' has no member named 'codec_dai'
struct
snd_soc_dai *dai = rtd->codec_dai;
^~
sound/soc/intel/boards/tgl_rt1308.c: In function 'tgl_rt1308_hw_params':
sound/soc/intel/boards/tgl_rt1308.c:102:37: error: 'struct snd_soc_pcm_runtime'
has no member named 'codec_dai'
struct snd_soc_dai *codec_dai = rtd->codec_dai;
^~
vim +43 sound/soc/intel/boards/bxt_pcm512x.c
9ea168fca3e0d4 Pan Xiuli 2018-09-27 39
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 40 static int broxton_hdmi_init(struct
snd_soc_pcm_runtime *rtd)
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 41 {
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 42 struct bxt_card_private *ctx =
snd_soc_card_get_drvdata(rtd->card);
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 @43 struct snd_soc_dai *dai =
rtd->codec_dai;
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 44 struct bxt_hdmi_pcm *pcm;
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 45
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 46 pcm =
devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL);
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 47 if (!pcm)
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 48 return -ENOMEM;
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 49
b5711b3ef40adf Libin Yang 2019-02-25 50 /* dai_link id is 1:1 mapped to the
PCM device */
b5711b3ef40adf Libin Yang 2019-02-25 51 pcm->device =
rtd->dai_link->id;
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 52 pcm->codec_dai = dai;
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 53
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 54 list_add_tail(&pcm->head,
&ctx->hdmi_pcm_list);
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 55
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 56 return 0;
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 57 }
7ce1ad60ae5add Pierre-Louis Bossart 2018-11-07 58
:::::: The code at line 43 was first introduced by commit
:::::: 7ce1ad60ae5add4199f1a0e96d8428cc3ef0d9f1 ASoC: Intel: bxt_pcm512x: make HDMI
optional
:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
:::::: CC: Pierre Bossart <pierre-louis.bossart(a)linux.intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation