All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: James Calligeros <jcalligeros99@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v4 06/10] ASoC: tas2764: Crop SDOUT zero-out mask based on BCLK ratio
Date: Sun, 6 Apr 2025 04:23:43 +0800	[thread overview]
Message-ID: <202504060453.uisGt8Me-lkp@intel.com> (raw)
In-Reply-To: <20250405-apple-codec-changes-v4-6-d007e46ce4a2@gmail.com>

Hi James,

kernel test robot noticed the following build errors:

[auto build test ERROR on 3a0f0a4355df0240485ed62b6bd6afa5b3e689c5]

url:    https://github.com/intel-lab-lkp/linux/commits/James-Calligeros/ASoC-tas2770-Power-cycle-amp-on-ISENSE-VSENSE-change/20250405-081800
base:   3a0f0a4355df0240485ed62b6bd6afa5b3e689c5
patch link:    https://lore.kernel.org/r/20250405-apple-codec-changes-v4-6-d007e46ce4a2%40gmail.com
patch subject: [PATCH v4 06/10] ASoC: tas2764: Crop SDOUT zero-out mask based on BCLK ratio
config: arc-randconfig-001-20250406 (https://download.01.org/0day-ci/archive/20250406/202504060453.uisGt8Me-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250406/202504060453.uisGt8Me-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504060453.uisGt8Me-lkp@intel.com/

All errors (new ones prefixed by >>):

   sound/soc/codecs/tas2764.c: In function 'tas2764_write_sdout_zero_mask':
>> sound/soc/codecs/tas2764.c:377:21: error: 'struct tas2764_priv' has no member named 'sdout_zero_mask'
     377 |         if (!tas2764->sdout_zero_mask)
         |                     ^~
   sound/soc/codecs/tas2764.c:380:31: error: 'struct tas2764_priv' has no member named 'sdout_zero_mask'
     380 |         cropped_mask = tas2764->sdout_zero_mask & GENMASK(nsense_slots - 1, 0);
         |                               ^~
>> sound/soc/codecs/tas2764.c:383:58: error: 'TAS2764_SDOUT_HIZ_1' undeclared (first use in this function)
     383 |                 ret = snd_soc_component_write(component, TAS2764_SDOUT_HIZ_1 + i,
         |                                                          ^~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/tas2764.c:383:58: note: each undeclared identifier is reported only once for each function it appears in
>> sound/soc/codecs/tas2764.c:390:56: error: 'TAS2764_SDOUT_HIZ_9' undeclared (first use in this function)
     390 |         ret = snd_soc_component_update_bits(component, TAS2764_SDOUT_HIZ_9,
         |                                                        ^~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/tas2764.c:391:45: error: 'TAS2764_SDOUT_HIZ_9_FORCE_0_EN' undeclared (first use in this function)
     391 |                                             TAS2764_SDOUT_HIZ_9_FORCE_0_EN,
         |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +377 sound/soc/codecs/tas2764.c

   369	
   370	static int tas2764_write_sdout_zero_mask(struct tas2764_priv *tas2764, int bclk_ratio)
   371	{
   372		struct snd_soc_component *component = tas2764->component;
   373		int nsense_slots = bclk_ratio / 8;
   374		u32 cropped_mask;
   375		int i, ret;
   376	
 > 377		if (!tas2764->sdout_zero_mask)
   378			return 0;
   379	
   380		cropped_mask = tas2764->sdout_zero_mask & GENMASK(nsense_slots - 1, 0);
   381	
   382		for (i = 0; i < 4; i++) {
 > 383			ret = snd_soc_component_write(component, TAS2764_SDOUT_HIZ_1 + i,
   384						      (cropped_mask >> (i * 8)) & 0xff);
   385	
   386			if (ret < 0)
   387				return ret;
   388		}
   389	
 > 390		ret = snd_soc_component_update_bits(component, TAS2764_SDOUT_HIZ_9,
 > 391						    TAS2764_SDOUT_HIZ_9_FORCE_0_EN,
   392						    TAS2764_SDOUT_HIZ_9_FORCE_0_EN);
   393	
   394		if (ret < 0)
   395			return ret;
   396	
   397		return 0;
   398	}
   399	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2025-04-05 20:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-05  0:12 [PATCH v4 00/10] ASoC: tas27{64,70}: improve support for Apple codec variants James Calligeros
2025-04-05  0:12 ` [PATCH v4 01/10] ASoC: tas2770: Power cycle amp on ISENSE/VSENSE change James Calligeros
2025-04-05  0:12 ` [PATCH v4 02/10] ASoC: tas2770: Support setting the PDM TX slot James Calligeros
2025-04-05  0:12 ` [PATCH v4 03/10] ASoC: tas2770: Set the SDOUT polarity correctly James Calligeros
2025-04-05 19:52   ` kernel test robot
2025-04-05  0:12 ` [PATCH v4 04/10] ASoC: tas2764: Reinit cache on part reset James Calligeros
2025-04-05  0:12 ` [PATCH v4 05/10] ASoC: tas2764: Enable main IRQs James Calligeros
2025-04-05  0:12 ` [PATCH v4 06/10] ASoC: tas2764: Crop SDOUT zero-out mask based on BCLK ratio James Calligeros
2025-04-05 19:52   ` kernel test robot
2025-04-05 20:23   ` kernel test robot [this message]
2025-04-05  0:12 ` [PATCH v4 07/10] ASoC: tas2764: Raise regmap range maximum James Calligeros
2025-04-05  0:12 ` [PATCH v4 08/10] ASoC: tas2764: Apply Apple quirks James Calligeros
2025-04-05  0:12 ` [PATCH v4 09/10] ASoC: tas2770: expose die temp to hwmon James Calligeros
2025-04-05  0:12 ` [PATCH v4 10/10] ASoC: tas2764: " James Calligeros

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=202504060453.uisGt8Me-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jcalligeros99@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.