tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git test/snd_ctl_remove-lock-fix head: 6dd4ae925ae5b90ccfbcb11dce06fd505cc18bc8 commit: f6df559bc59a922fc6bd100cd018207323c3f9d1 [33/38] ASoC: sigmadsp: Simplify with snd_ctl_activate_id() config: nios2-randconfig-r026-20230703 (https://download.01.org/0day-ci/archive/20230705/202307050119.aWILsASi-lkp@i...) compiler: nios2-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230705/202307050119.aWILsASi-lkp@i...)
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/202307050119.aWILsASi-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/soc/codecs/sigmadsp.c: In function 'sigmadsp_activate_ctrl':
sound/soc/codecs/sigmadsp.c:676:50: error: 'struct sigmadsp_control' has no member named 'kctl'
676 | changed = snd_ctl_activate_id(card, &ctrl->kctl->id, active); | ^~
vim +676 sound/soc/codecs/sigmadsp.c
667 668 static void sigmadsp_activate_ctrl(struct sigmadsp *sigmadsp, 669 struct sigmadsp_control *ctrl, unsigned int samplerate_mask) 670 { 671 struct snd_card *card = sigmadsp->component->card->snd_card; 672 bool active; 673 int changed; 674 675 active = sigmadsp_samplerate_valid(ctrl->samplerates, samplerate_mask);
676 changed = snd_ctl_activate_id(card, &ctrl->kctl->id, active);
677 if (active && changed > 0) { 678 mutex_lock(&sigmadsp->lock); 679 if (ctrl->cached) 680 sigmadsp_ctrl_write(sigmadsp, ctrl, ctrl->cache); 681 mutex_unlock(&sigmadsp->lock); 682 } 683 } 684