From: kernel test robot <lkp@intel.com>
To: jack.yu@realtek.com, broonie@kernel.org, lgirdwood@gmail.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
alsa-devel@alsa-project.org, lars@metafoo.de, flove@realtek.com,
oder_chiou@realtek.com, shumingf@realtek.com,
derek.fang@realtek.com, Jack Yu <jack.yu@realtek.com>
Subject: Re: [PATCH] ASoC: rt722-sdca: Add a control to support CAE firmware update
Date: Sat, 16 May 2026 04:43:51 +0800 [thread overview]
Message-ID: <202605160417.WSjswKEf-lkp@intel.com> (raw)
In-Reply-To: <20260515091643.3038701-1-jack.yu@realtek.com>
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on linus/master v7.1-rc3 next-20260508]
[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/jack-yu-realtek-com/ASoC-rt722-sdca-Add-a-control-to-support-CAE-firmware-update/20260515-191729
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20260515091643.3038701-1-jack.yu%40realtek.com
patch subject: [PATCH] ASoC: rt722-sdca: Add a control to support CAE firmware update
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260516/202605160417.WSjswKEf-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260516/202605160417.WSjswKEf-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/202605160417.WSjswKEf-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/codecs/rt722-sdca.c:571:7: error: call to undeclared function 'snd_soc_component_get_bias_level'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
571 | if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) {
| ^
sound/soc/codecs/rt722-sdca.c:571:7: note: did you mean 'snd_soc_component_set_bias_level'?
include/sound/soc-component.h:326:5: note: 'snd_soc_component_set_bias_level' declared here
326 | int snd_soc_component_set_bias_level(struct snd_soc_component *component,
| ^
1 error generated.
vim +/snd_soc_component_get_bias_level +571 sound/soc/codecs/rt722-sdca.c
555
556 static int rt722_cae_update_put(struct snd_kcontrol *kcontrol,
557 struct snd_ctl_elem_value *ucontrol)
558 {
559 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
560 struct rt722_sdca_priv *rt722 = snd_soc_component_get_drvdata(component);
561 int ret, changed = 0;
562
563 if (!rt722->hw_init)
564 return 0;
565
566 ret = pm_runtime_resume_and_get(component->dev);
567 if (ret < 0 && ret != -EACCES)
568 return ret;
569
570 if (ucontrol->value.integer.value[0]) {
> 571 if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) {
572 ret = rt722_cae_load(rt722);
573 if (ret)
574 dev_err(component->dev, "CAE load failed: %d\n", ret);
575 else
576 changed = 1;
577 }
578 } else {
579 if (rt722->cae_update_done) {
580 rt722->cae_update_done = 0;
581 changed = 1;
582 }
583 }
584
585 pm_runtime_mark_last_busy(component->dev);
586 pm_runtime_put_autosuspend(component->dev);
587
588 return changed;
589 }
590
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-05-15 20:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-15 9:16 [PATCH] ASoC: rt722-sdca: Add a control to support CAE firmware update jack.yu
2026-05-15 19:49 ` kernel test robot
2026-05-15 20:43 ` kernel test robot [this message]
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=202605160417.WSjswKEf-lkp@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=derek.fang@realtek.com \
--cc=flove@realtek.com \
--cc=jack.yu@realtek.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=llvm@lists.linux.dev \
--cc=oder_chiou@realtek.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shumingf@realtek.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox