[tiwai-sound:test/snd_ctl_remove-lock-fix 33/38] sound/soc/codecs/sigmadsp.c:676:50: error: 'struct sigmadsp_control' has no member named 'kctl'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230705/202307050119.aWILsASi-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307050119.aWILsASi-lkp@xxxxxxxxx/

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	

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux