public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [morimoto:sound-2022-07-04-v1 15/23] sound/soc/intel/avs/boards/nau8825.c:279:17: error: no member named 'stream_active' in 'struct snd_soc_dai'
Date: Thu, 14 Jul 2022 18:31:40 +0800	[thread overview]
Message-ID: <202207141847.favaONji-lkp@intel.com> (raw)

tree:   https://github.com/morimoto/linux sound-2022-07-04-v1
head:   e9efd77b37adcddf8f910f34dd0df06be9d896cb
commit: 2aa8bfec7e0ff4ab531a688f8fd43150ad78ae23 [15/23] ASoC: count activity via TX/RX base instead of Playback/Capture.
config: mips-randconfig-r011-20220714 (https://download.01.org/0day-ci/archive/20220714/202207141847.favaONji-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61b9c556267086ef9b743a0b57df302eef831b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mipsel-linux-gnu
        # https://github.com/morimoto/linux/commit/2aa8bfec7e0ff4ab531a688f8fd43150ad78ae23
        git remote add morimoto https://github.com/morimoto/linux
        git fetch --no-tags morimoto sound-2022-07-04-v1
        git checkout 2aa8bfec7e0ff4ab531a688f8fd43150ad78ae23
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash sound/soc/atmel/ sound/soc/codecs/ sound/soc/fsl/ sound/soc/intel/avs/ sound/soc/mxs/ sound/soc/qcom/qdsp6/ sound/soc/samsung/ sound/soc/ti/

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

All errors (new ones prefixed by >>):

>> sound/soc/intel/avs/boards/nau8825.c:279:17: error: no member named 'stream_active' in 'struct snd_soc_dai'
           if (codec_dai->stream_active[SNDRV_PCM_STREAM_PLAYBACK] &&
               ~~~~~~~~~  ^
   1 error generated.


vim +279 sound/soc/intel/avs/boards/nau8825.c

32ee40b5590081 Cezary Rojewski 2022-05-11  268  
32ee40b5590081 Cezary Rojewski 2022-05-11  269  static int avs_card_resume_post(struct snd_soc_card *card)
32ee40b5590081 Cezary Rojewski 2022-05-11  270  {
32ee40b5590081 Cezary Rojewski 2022-05-11  271  	struct snd_soc_dai *codec_dai = snd_soc_card_get_codec_dai(card, SKL_NUVOTON_CODEC_DAI);
32ee40b5590081 Cezary Rojewski 2022-05-11  272  	struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card);
32ee40b5590081 Cezary Rojewski 2022-05-11  273  
32ee40b5590081 Cezary Rojewski 2022-05-11  274  	if (!codec_dai) {
32ee40b5590081 Cezary Rojewski 2022-05-11  275  		dev_err(card->dev, "Codec dai not found\n");
32ee40b5590081 Cezary Rojewski 2022-05-11  276  		return -EINVAL;
32ee40b5590081 Cezary Rojewski 2022-05-11  277  	}
32ee40b5590081 Cezary Rojewski 2022-05-11  278  
32ee40b5590081 Cezary Rojewski 2022-05-11 @279  	if (codec_dai->stream_active[SNDRV_PCM_STREAM_PLAYBACK] &&
32ee40b5590081 Cezary Rojewski 2022-05-11  280  	    codec_dai->playback_widget->active)
32ee40b5590081 Cezary Rojewski 2022-05-11  281  		snd_soc_dai_set_sysclk(codec_dai, NAU8825_CLK_FLL_FS, 0, SND_SOC_CLOCK_IN);
32ee40b5590081 Cezary Rojewski 2022-05-11  282  
32ee40b5590081 Cezary Rojewski 2022-05-11  283  	return avs_card_set_jack(card, jack);
32ee40b5590081 Cezary Rojewski 2022-05-11  284  }
32ee40b5590081 Cezary Rojewski 2022-05-11  285  

:::::: The code at line 279 was first introduced by commit
:::::: 32ee40b5590081a6b38a55e4ab16b47085f93afe ASoC: Intel: avs: Add nau8825 machine board

:::::: TO: Cezary Rojewski <cezary.rojewski@intel.com>
:::::: CC: Mark Brown <broonie@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-07-14 10:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202207141847.favaONji-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox