Hi Vijendar,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on asoc/for-next] [also build test ERROR on next-20180327] [cannot apply to v4.16-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Vijendar-Mukunda/ASoC-dwc-I2S-Contr... base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-randconfig-s1-03281558 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=x86_64
All errors (new ones prefixed by >>):
sound/soc/dwc/dwc-i2s.o: In function `dw_pcm_push_tx':
sound/soc/dwc/dwc-i2s.c:721: multiple definition of `dw_pcm_push_tx'
sound/soc/amd/acp-pcm-dma.o:sound/soc/amd/acp-pcm-dma.c:933: first defined here sound/soc/dwc/dwc-i2s.o: In function `dw_pcm_pop_rx':
sound/soc/dwc/local.h:129: multiple definition of `dw_pcm_pop_rx'
sound/soc/amd/acp-pcm-dma.o:sound/soc/amd/../dwc/local.h:129: first defined here sound/soc/dwc/dwc-i2s.o: In function `dw_pcm_register':
sound/soc/dwc/local.h:131: multiple definition of `dw_pcm_register'
sound/soc/amd/acp-pcm-dma.o:sound/soc/amd/../dwc/local.h:131: first defined here
vim +129 sound/soc/dwc/local.h
79361b2b Jose Abreu 2016-06-09 122 79361b2b Jose Abreu 2016-06-09 123 #if IS_ENABLED(CONFIG_SND_DESIGNWARE_PCM) 79361b2b Jose Abreu 2016-06-09 124 void dw_pcm_push_tx(struct dw_i2s_dev *dev); e2f748e0 Jose Abreu 2016-12-27 125 void dw_pcm_pop_rx(struct dw_i2s_dev *dev); 79361b2b Jose Abreu 2016-06-09 126 int dw_pcm_register(struct platform_device *pdev); 79361b2b Jose Abreu 2016-06-09 127 #else 79361b2b Jose Abreu 2016-06-09 128 void dw_pcm_push_tx(struct dw_i2s_dev *dev) { } e2f748e0 Jose Abreu 2016-12-27 @129 void dw_pcm_pop_rx(struct dw_i2s_dev *dev) { } 79361b2b Jose Abreu 2016-06-09 130 int dw_pcm_register(struct platform_device *pdev) 79361b2b Jose Abreu 2016-06-09 @131 { 79361b2b Jose Abreu 2016-06-09 132 return -EINVAL; 79361b2b Jose Abreu 2016-06-09 133 } 79361b2b Jose Abreu 2016-06-09 134 #endif 79361b2b Jose Abreu 2016-06-09 135
:::::: The code at line 129 was first introduced by commit :::::: e2f748e06db389d9fd51413df23ff8d3615a47db ASoC: dwc: Add record capability in PIO mode
:::::: TO: Jose Abreu Jose.Abreu@synopsys.com :::::: CC: Mark Brown broonie@kernel.org
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation