linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [broonie-misc:at91sam9g20ek 3/5] sound/soc/atmel/sam9g20_wm8731.c:186:21: error: 'mclk' undeclared; did you mean 'clk'?
@ 2022-03-24  7:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-24  7:14 UTC (permalink / raw)
  To: Mark Brown; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git at91sam9g20ek
head:   f30f829ccd41ba76c4e5eae0f4f7ed3c9e4fe36b
commit: f0b540ab33c655cd82cd228652fb47d323584581 [3/5] ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220324/202203241508.CAvzBM8m-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.2.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git/commit/?id=f0b540ab33c655cd82cd228652fb47d323584581
        git remote add broonie-misc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git
        git fetch --no-tags broonie-misc at91sam9g20ek
        git checkout f0b540ab33c655cd82cd228652fb47d323584581
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash sound/soc/atmel/

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

All errors (new ones prefixed by >>):

   sound/soc/atmel/sam9g20_wm8731.c: In function 'at91sam9g20ek_audio_probe':
   sound/soc/atmel/sam9g20_wm8731.c:121:21: warning: unused variable 'pllb' [-Wunused-variable]
     121 |         struct clk *pllb;
         |                     ^~~~
   sound/soc/atmel/sam9g20_wm8731.c: In function 'at91sam9g20ek_audio_remove':
>> sound/soc/atmel/sam9g20_wm8731.c:186:21: error: 'mclk' undeclared (first use in this function); did you mean 'clk'?
     186 |         clk_disable(mclk);
         |                     ^~~~
         |                     clk
   sound/soc/atmel/sam9g20_wm8731.c:186:21: note: each undeclared identifier is reported only once for each function it appears in


vim +186 sound/soc/atmel/sam9g20_wm8731.c

5b99e6ccf964e7 Sedji Gaouaou  2008-10-03  181  
71d14ea60ad81a Bill Pemberton 2012-12-07  182  static int at91sam9g20ek_audio_remove(struct platform_device *pdev)
5b99e6ccf964e7 Sedji Gaouaou  2008-10-03  183  {
242b9bb83e458d Bo Shen        2012-10-11  184  	struct snd_soc_card *card = platform_get_drvdata(pdev);
242b9bb83e458d Bo Shen        2012-10-11  185  
151edfc757babd Bo Shen        2013-01-31 @186  	clk_disable(mclk);
5de7f9b2006925 Mark Brown     2009-02-16  187  	mclk = NULL;
151edfc757babd Bo Shen        2013-01-31  188  	snd_soc_unregister_card(card);
151edfc757babd Bo Shen        2013-01-31  189  	atmel_ssc_put_audio(0);
242b9bb83e458d Bo Shen        2012-10-11  190  
242b9bb83e458d Bo Shen        2012-10-11  191  	return 0;
5b99e6ccf964e7 Sedji Gaouaou  2008-10-03  192  }
5b99e6ccf964e7 Sedji Gaouaou  2008-10-03  193  

:::::: The code at line 186 was first introduced by commit
:::::: 151edfc757babd94d8b6c64d84a9ccf8f3c53320 ASoC: sam9g20_wm8731: disable clock and correct sequence when unload

:::::: TO: Bo Shen <voice.shen@atmel.com>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>

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

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

only message in thread, other threads:[~2022-03-24  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24  7:14 [broonie-misc:at91sam9g20ek 3/5] sound/soc/atmel/sam9g20_wm8731.c:186:21: error: 'mclk' undeclared; did you mean 'clk'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).