[alsa-devel] [asoc:topic/intel 4/4] sound/soc/codecs/hdac_hdmi.c:725:42: error: 'struct hdac_ext_device' has no member named 'hdac'; did you mean 'hdev'?

kbuild test robot fengguang.wu at intel.com
Thu Feb 15 17:26:43 CET 2018


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
head:   753597fbb7031ff147d4f2862426699e4ad8efca
commit: 753597fbb7031ff147d4f2862426699e4ad8efca [4/4] ASoC: hdac_hdmi : Ensuring proper setting of output widget power state
config: i386-randconfig-x075-201806 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 753597fbb7031ff147d4f2862426699e4ad8efca
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   sound/soc/codecs/hdac_hdmi.c: In function 'hdac_hdmi_set_power_state':
>> sound/soc/codecs/hdac_hdmi.c:725:42: error: 'struct hdac_ext_device' has no member named 'hdac'; did you mean 'hdev'?
      if (!snd_hdac_check_power_state(&edev->hdac, nid, pwr_state)) {
                                             ^~~~
                                             hdev
   sound/soc/codecs/hdac_hdmi.c:727:32: error: 'struct hdac_ext_device' has no member named 'hdac'; did you mean 'hdev'?
        snd_hdac_codec_read(&edev->hdac, nid, 0,
                                   ^~~~
                                   hdev
   sound/soc/codecs/hdac_hdmi.c:730:46: error: 'struct hdac_ext_device' has no member named 'hdac'; did you mean 'hdev'?
        state = snd_hdac_sync_power_state(&edev->hdac,
                                                 ^~~~
                                                 hdev

vim +725 sound/soc/codecs/hdac_hdmi.c

   717	
   718	static void hdac_hdmi_set_power_state(struct hdac_ext_device *edev,
   719				     hda_nid_t nid, unsigned int pwr_state)
   720	{
   721		int count;
   722		unsigned int state;
   723	
   724		if (get_wcaps(&edev->hdev, nid) & AC_WCAP_POWER) {
 > 725			if (!snd_hdac_check_power_state(&edev->hdac, nid, pwr_state)) {
   726				for (count = 0; count < 10; count++) {
   727					snd_hdac_codec_read(&edev->hdac, nid, 0,
   728							AC_VERB_SET_POWER_STATE,
   729							pwr_state);
   730					state = snd_hdac_sync_power_state(&edev->hdac,
   731							nid, pwr_state);
   732					if (!(state & AC_PWRST_ERROR))
   733						break;
   734				}
   735			}
   736	
   737		}
   738	}
   739	

---
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: 30412 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180216/53c78832/attachment-0001.bin>


More information about the Alsa-devel mailing list