[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202306230648.6X3y3ujR-lkp@intel.com>
Date: Fri, 23 Jun 2023 06:30:57 +0800
From: kernel test robot <lkp@...el.com>
To: Syed Saba Kareem <Syed.SabaKareem@....com>, broonie@...nel.org,
alsa-devel@...a-project.org
Cc: oe-kbuild-all@...ts.linux.dev, Vijendar.Mukunda@....com,
Basavaraj.Hiregoudar@....com, Sunil-kumar.Dommati@....com,
Syed Saba Kareem <Syed.SabaKareem@....com>,
V Sujith Kumar Reddy <vsujithkumar.reddy@....com>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Venkata Prasad Potturu <venkataprasad.potturu@....com>,
Ajit Kumar Pandey <AjitKumar.Pandey@....com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 04/12] ASoC: amd: acp: add acp i2s master clock
generation for rembrandt platform
Hi Syed,
kernel test robot noticed the following build warnings:
[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on linus/master v6.4-rc7 next-20230622]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Syed-Saba-Kareem/ASoC-amd-acp-remove-acp-poweroff-function/20230622-233145
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20230622152406.3709231-7-Syed.SabaKareem%40amd.com
patch subject: [PATCH 04/12] ASoC: amd: acp: add acp i2s master clock generation for rembrandt platform
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230623/202306230648.6X3y3ujR-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230623/202306230648.6X3y3ujR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306230648.6X3y3ujR-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/soc/amd/acp/acp-rembrandt.c:169:5: warning: no previous prototype for 'acp6x_master_clock_generate' [-Wmissing-prototypes]
169 | int acp6x_master_clock_generate(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/acp6x_master_clock_generate +169 sound/soc/amd/acp/acp-rembrandt.c
168
> 169 int acp6x_master_clock_generate(struct device *dev)
170 {
171 int data = 0;
172 struct pci_dev *smn_dev;
173
174 smn_dev = pci_get_device(PCI_VENDOR_ID_AMD, HOST_BRIDGE_ID, NULL);
175 if (!smn_dev) {
176 dev_err(dev, "Failed to get host bridge device\n");
177 return -ENODEV;
178 }
179
180 smn_write(smn_dev, MP1_C2PMSG_93, 0);
181 smn_write(smn_dev, MP1_C2PMSG_85, 0xC4);
182 smn_write(smn_dev, MP1_C2PMSG_69, 0x4);
183 read_poll_timeout(smn_read, data, data, DELAY_US,
184 ACP_TIMEOUT, false, smn_dev, MP1_C2PMSG_93);
185 return 0;
186 }
187
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists