[alsa-devel] [asoc:for-5.4 195/195] sound/soc/sof/intel/hda-ctrl.c:257:8: error: 'struct hdac_bus' has no member named 'io_ops'; did you mean 'ops'?

kbuild test robot lkp at intel.com
Fri Aug 9 04:29:37 CEST 2019


tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/broonie/sound.git for-5.4
head:   c2f16a94a80497e4b28c27f9ca2cd6cd60706fb6
commit: c2f16a94a80497e4b28c27f9ca2cd6cd60706fb6 [195/195] Merge branch 'topic/hda-bus-ops-cleanup' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-5.4
config: i386-randconfig-b003-201931 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        git checkout c2f16a94a80497e4b28c27f9ca2cd6cd60706fb6
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>):

   sound/soc/sof/intel/hda-ctrl.c: In function 'hda_dsp_ctrl_init_chip':
>> sound/soc/sof/intel/hda-ctrl.c:257:8: error: 'struct hdac_bus' has no member named 'io_ops'; did you mean 'ops'?
      bus->io_ops->reg_writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV);
           ^~~~~~
           ops

vim +257 sound/soc/sof/intel/hda-ctrl.c

be1b577d01787c Zhu Yingjiang 2019-05-24  240  
be1b577d01787c Zhu Yingjiang 2019-05-24  241  	/* enable CIE and GIE interrupts */
be1b577d01787c Zhu Yingjiang 2019-05-24  242  	snd_sof_dsp_update_bits(sdev, HDA_DSP_HDA_BAR, SOF_HDA_INTCTL,
be1b577d01787c Zhu Yingjiang 2019-05-24  243  				SOF_HDA_INT_CTRL_EN | SOF_HDA_INT_GLOBAL_EN,
be1b577d01787c Zhu Yingjiang 2019-05-24  244  				SOF_HDA_INT_CTRL_EN | SOF_HDA_INT_GLOBAL_EN);
be1b577d01787c Zhu Yingjiang 2019-05-24  245  
be1b577d01787c Zhu Yingjiang 2019-05-24  246  	/* program the position buffer */
be1b577d01787c Zhu Yingjiang 2019-05-24  247  	if (bus->use_posbuf && bus->posbuf.addr) {
061edb23250579 Zhu Yingjiang 2019-07-22  248  		snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_ADSP_DPLBASE,
061edb23250579 Zhu Yingjiang 2019-07-22  249  				  (u32)bus->posbuf.addr);
061edb23250579 Zhu Yingjiang 2019-07-22  250  		snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_ADSP_DPUBASE,
be1b577d01787c Zhu Yingjiang 2019-05-24  251  				  upper_32_bits(bus->posbuf.addr));
be1b577d01787c Zhu Yingjiang 2019-05-24  252  	}
be1b577d01787c Zhu Yingjiang 2019-05-24  253  
d06973515f95ac Zhu Yingjiang 2019-07-22  254  #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA)
d06973515f95ac Zhu Yingjiang 2019-07-22  255  	/* Reset stream-to-link mapping */
d06973515f95ac Zhu Yingjiang 2019-07-22  256  	list_for_each_entry(hlink, &bus->hlink_list, list)
d06973515f95ac Zhu Yingjiang 2019-07-22 @257  		bus->io_ops->reg_writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV);
d06973515f95ac Zhu Yingjiang 2019-07-22  258  #endif
d06973515f95ac Zhu Yingjiang 2019-07-22  259  
be1b577d01787c Zhu Yingjiang 2019-05-24  260  	bus->chip_init = true;
be1b577d01787c Zhu Yingjiang 2019-05-24  261  
be1b577d01787c Zhu Yingjiang 2019-05-24  262  	hda_dsp_ctrl_misc_clock_gating(sdev, true);
be1b577d01787c Zhu Yingjiang 2019-05-24  263  
be1b577d01787c Zhu Yingjiang 2019-05-24  264  	return ret;
be1b577d01787c Zhu Yingjiang 2019-05-24  265  }
13063a2ccf79d2 Zhu Yingjiang 2019-06-12  266  

:::::: The code at line 257 was first introduced by commit
:::::: d06973515f95ac74d68fb3e1f1fb4b055531296c ASoC: SOF: Intel: hda: use SOF defined init chip in resume

:::::: TO: Zhu Yingjiang <yingjiang.zhu at linux.intel.com>
:::::: CC: Mark Brown <broonie at kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 36155 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190809/9825d9ac/attachment-0001.gz>


More information about the Alsa-devel mailing list