Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1280088

Re: [PATCH] ASoC: sun4i: Implement MIC1 capture

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: sun4i: Implement MIC1 capture
Date 2015-11-30 17:30 +0100
Message-ID <qAzuZ-5YC-83@gated-at.bofh.it> (permalink)
References <qAySe-5tX-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Maxime,

[auto build test WARNING on: v4.4-rc3]
[cannot apply to: asoc/for-next next-20151127]

url:    https://github.com/0day-ci/linux/commits/Maxime-Ripard/ASoC-sun4i-Implement-MIC1-capture/20151130-234314
config: i386-randconfig-i0-201548 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   sound/soc/sunxi/sun4i-codec.c: In function 'sun4i_codec_hw_params_capture':
>> sound/soc/sunxi/sun4i-codec.c:361:6: warning: unused variable 'val' [-Wunused-variable]
     u32 val;
         ^

vim +/val +361 sound/soc/sunxi/sun4i-codec.c

45fb6b6f Emilio López  2015-09-12  345  	case 11025:
45fb6b6f Emilio López  2015-09-12  346  		return 4;
45fb6b6f Emilio López  2015-09-12  347  
45fb6b6f Emilio López  2015-09-12  348  	case 8000:
45fb6b6f Emilio López  2015-09-12  349  	case 7350:
45fb6b6f Emilio López  2015-09-12  350  		return 5;
45fb6b6f Emilio López  2015-09-12  351  
45fb6b6f Emilio López  2015-09-12  352  	default:
45fb6b6f Emilio López  2015-09-12  353  		return -EINVAL;
45fb6b6f Emilio López  2015-09-12  354  	}
45fb6b6f Emilio López  2015-09-12  355  }
45fb6b6f Emilio López  2015-09-12  356  
e6fdf863 Maxime Ripard 2015-11-30  357  static int sun4i_codec_hw_params_capture(struct sun4i_codec *scodec,
45fb6b6f Emilio López  2015-09-12  358  					 struct snd_pcm_hw_params *params,
e6fdf863 Maxime Ripard 2015-11-30  359  					 unsigned int hwrate)
45fb6b6f Emilio López  2015-09-12  360  {
45fb6b6f Emilio López  2015-09-12 @361  	u32 val;
45fb6b6f Emilio López  2015-09-12  362  
e6fdf863 Maxime Ripard 2015-11-30  363  	/* Set ADC sample rate */
e6fdf863 Maxime Ripard 2015-11-30  364  	regmap_update_bits(scodec->regmap, SUN4I_CODEC_ADC_FIFOC,
e6fdf863 Maxime Ripard 2015-11-30  365  			   7 << SUN4I_CODEC_ADC_FIFOC_ADC_FS,
e6fdf863 Maxime Ripard 2015-11-30  366  			   hwrate << SUN4I_CODEC_ADC_FIFOC_ADC_FS);
45fb6b6f Emilio López  2015-09-12  367  
e6fdf863 Maxime Ripard 2015-11-30  368  	/* Set the number of channels we want to use */
e6fdf863 Maxime Ripard 2015-11-30  369  	if (params_channels(params) == 1)

:::::: The code at line 361 was first introduced by commit
:::::: 45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb ASoC: sunxi: add support for the on-chip codec on early Allwinner SoCs

:::::: TO: Emilio López <emilio@elopez.com.ar>
:::::: CC: Mark Brown <broonie@kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: sun4i: Implement MIC1 capture Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-11-30 16:50 +0100
  Re: [PATCH] ASoC: sun4i: Implement MIC1 capture Mark Brown <broonie@kernel.org> - 2015-11-30 17:20 +0100
    Re: [PATCH] ASoC: sun4i: Implement MIC1 capture Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-01 10:20 +0100
  Re: [PATCH] ASoC: sun4i: Implement MIC1 capture kbuild test robot <lkp@intel.com> - 2015-11-30 17:30 +0100

csiph-web