From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 10/11] hda: cs35l41: Add support for CS35L41 in HDA systems
Date: Wed, 24 Nov 2021 11:18:15 +0800 [thread overview]
Message-ID: <202111241121.KkNm9IFL-lkp@intel.com> (raw)
In-Reply-To: <20211123163149.1530535-11-tanureal@opensource.cirrus.com>
[-- Attachment #1: Type: text/plain, Size: 4426 bytes --]
Hi Lucas,
I love your patch! Perhaps something to improve:
[auto build test WARNING on next-20211123]
[cannot apply to broonie-sound/for-next tiwai-sound/for-next rafael-pm/linux-next linus/master v5.16-rc2 v5.16-rc1 v5.15 v5.16-rc2]
[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]
url: https://github.com/0day-ci/linux/commits/Lucas-Tanure/Add-support-for-Legion-7-16ACHg6-laptop/20211124-003454
base: aacdecce8147c20b01f865b4e214bb8dbe8c4af1
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20211124/202111241121.KkNm9IFL-lkp(a)intel.com/config.gz)
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://github.com/0day-ci/linux/commit/57fb53c7cacc1a5e603bd248f5609e48582f19ff
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Lucas-Tanure/Add-support-for-Legion-7-16ACHg6-laptop/20211124-003454
git checkout 57fb53c7cacc1a5e603bd248f5609e48582f19ff
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> sound/pci/hda/patch_realtek.c:6546:6: warning: no previous prototype for 'alc287_legion_16achg6_playback_hook' [-Wmissing-prototypes]
6546 | void alc287_legion_16achg6_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> sound/pci/hda/cs35l41_hda.c:179:5: warning: no previous prototype for 'cs35l41_hda_bind' [-Wmissing-prototypes]
179 | int cs35l41_hda_bind(struct device *dev, struct device *master, void *master_data)
| ^~~~~~~~~~~~~~~~
sound/pci/hda/cs35l41_hda.c: In function 'cs35l41_hda_read_acpi':
sound/pci/hda/cs35l41_hda.c:314:59: error: invalid use of undefined type 'struct acpi_device'
314 | cs35l41->reset_gpio = fwnode_gpiod_get_index(&adev->fwnode, "reset", index, GPIOD_OUT_LOW,
| ^~
--
>> sound/pci/hda/../../soc/codecs/cs35l41-lib.c:54:6: warning: no previous prototype for 'cs35l41_readable_reg' [-Wmissing-prototypes]
54 | bool cs35l41_readable_reg(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~
>> sound/pci/hda/../../soc/codecs/cs35l41-lib.c:338:6: warning: no previous prototype for 'cs35l41_precious_reg' [-Wmissing-prototypes]
338 | bool cs35l41_precious_reg(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~
>> sound/pci/hda/../../soc/codecs/cs35l41-lib.c:351:6: warning: no previous prototype for 'cs35l41_volatile_reg' [-Wmissing-prototypes]
351 | bool cs35l41_volatile_reg(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~
vim +/alc287_legion_16achg6_playback_hook +6546 sound/pci/hda/patch_realtek.c
6545
> 6546 void alc287_legion_16achg6_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec,
6547 struct snd_pcm_substream *sub, int action)
6548 {
6549 struct alc_spec *spec = codec->spec;
6550 unsigned int rx_slot;
6551 int i = 0;
6552
6553 switch (action) {
6554 case HDA_GEN_PCM_ACT_PREPARE:
6555 rx_slot = 0;
6556 i = find_comp_by_dev_name(spec, "i2c-CLSA0100:00-cs35l41-hda.0");
6557 if (i >= 0)
6558 spec->comps[i].set_channel_map(spec->comps[i].dev, 0, NULL, 1, &rx_slot);
6559
6560 rx_slot = 1;
6561 i = find_comp_by_dev_name(spec, "i2c-CLSA0100:00-cs35l41-hda.1");
6562 if (i >= 0)
6563 spec->comps[i].set_channel_map(spec->comps[i].dev, 0, NULL, 1, &rx_slot);
6564 break;
6565 }
6566
6567 for (i = 0; i < HDA_MAX_COMPONENTS; i++) {
6568 if (spec->comps[i].dev)
6569 spec->comps[i].playback_hook(spec->comps[i].dev, action);
6570 }
6571
6572
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next prev parent reply other threads:[~2021-11-24 3:18 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-23 16:31 [PATCH v3 00/11] Add support for Legion 7 16ACHg6 laptop Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:31 ` [PATCH 01/11] ASoC: cs35l41: Set the max SPI speed for the whole device Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 18:02 ` Charles Keepax
2021-11-23 18:02 ` Charles Keepax
2021-11-23 16:31 ` [PATCH 02/11] ASoC: cs35l41: Convert tables to shared source code Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 17:53 ` Mark Brown
2021-11-23 17:53 ` Mark Brown
2021-11-23 18:05 ` Charles Keepax
2021-11-23 18:05 ` Charles Keepax
2021-11-24 1:34 ` kernel test robot
2021-11-24 1:34 ` kernel test robot
2021-11-23 16:31 ` [PATCH 03/11] ASoC: cs35l41: Move regmap config struct to shared code Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 17:20 ` Mark Brown
2021-11-23 17:20 ` Mark Brown
2021-11-23 16:31 ` [PATCH 04/11] ASoC: cs35l41: Create function for init array of Supplies Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 17:58 ` Mark Brown
2021-11-23 17:58 ` Mark Brown
2021-11-24 13:31 ` Mark Brown
2021-11-23 16:31 ` [PATCH 05/11] ASoC: cs35l41: Move cs35l41_otp_unpack to shared code Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:31 ` [PATCH 06/11] ASoC: cs35l41: Move power initializations to reg_sequence Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:31 ` [PATCH 07/11] ASoC: cs35l41: Create shared function for errata patches Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:31 ` [PATCH 08/11] ASoC: cs35l41: Create shared function for setting channels Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:31 ` [PATCH 09/11] ASoC: cs35l41: Create shared function for boost configuration Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:31 ` [PATCH 10/11] hda: cs35l41: Add support for CS35L41 in HDA systems Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 16:52 ` Takashi Iwai
2021-11-23 16:52 ` Takashi Iwai
2021-11-23 16:59 ` Pierre-Louis Bossart
2021-11-23 16:59 ` Pierre-Louis Bossart
2021-11-23 17:06 ` tanureal
2021-11-23 17:16 ` Pierre-Louis Bossart
2021-11-23 17:15 ` Mark Brown
2021-11-23 17:15 ` Mark Brown
2021-11-24 3:18 ` kernel test robot [this message]
2021-11-23 16:31 ` [PATCH 11/11] ACPI / scan: Create platform device for CLSA0100 ACPI nodes Lucas Tanure
2021-11-23 16:31 ` Lucas Tanure
2021-11-23 17:05 ` Hans de Goede
2021-11-23 17:05 ` Hans de Goede
2021-11-23 17:11 ` Lucas tanure
2021-11-23 17:11 ` Lucas tanure
2021-11-23 18:35 ` Hans de Goede
2021-11-23 18:35 ` Hans de Goede
2021-11-23 23:01 ` Andy Shevchenko
2021-11-23 23:01 ` Andy Shevchenko
2021-11-24 17:36 ` (subset) [PATCH v3 00/11] Add support for Legion 7 16ACHg6 laptop Mark Brown
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=202111241121.KkNm9IFL-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.