Re: [PATCH] ASoC: rt722-sdca: Add a control to support CAE firmware update
kernel test robot <[email protected]>
| Newsgroups | org.alsa-project.alsa-devel,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
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: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260516/[email protected]/config) compiler: sh4-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260516/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): sound/soc/codecs/rt722-sdca.c: In function 'rt722_cae_update_put': >> sound/soc/codecs/rt722-sdca.c:571:21: error: implicit declaration of function 'snd_soc_component_get_bias_level'; did you mean 'snd_soc_component_set_bias_level'? [-Wimplicit-function-declaration] 571 | if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | snd_soc_component_set_bias_level vim +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