* [broonie-ci:v2_20230124_kuninori_morimoto_gx_asoc_use_helper_function_and_cleanup 117/117] sound/soc/mediatek/mt8188/mt8188-dai-pcm.c:230:16: error: 'struct snd_soc_dai' has no member named 'playback_widget'
@ 2023-01-30 19:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-30 19:01 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: oe-kbuild-all, Mark Brown, Charles Keepax
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git v2_20230124_kuninori_morimoto_gx_asoc_use_helper_function_and_cleanup
head: f32adf8d870ed0a7d39b88a261d01a7a1dcb023c
commit: f32adf8d870ed0a7d39b88a261d01a7a1dcb023c [117/117] ASoC: soc-dai.h: cleanup Playback/Capture data for snd_soc_dai
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20230131/202301310249.4CWR7qHF-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git/commit/?id=f32adf8d870ed0a7d39b88a261d01a7a1dcb023c
git remote add broonie-ci https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git
git fetch --no-tags broonie-ci v2_20230124_kuninori_morimoto_gx_asoc_use_helper_function_and_cleanup
git checkout f32adf8d870ed0a7d39b88a261d01a7a1dcb023c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash sound/soc/mediatek/mt8188/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/soc/mediatek/mt8188/mt8188-dai-pcm.c: In function 'mtk_dai_pcm_prepare':
>> sound/soc/mediatek/mt8188/mt8188-dai-pcm.c:230:16: error: 'struct snd_soc_dai' has no member named 'playback_widget'
230 | if (dai->playback_widget->active || dai->capture_widget->active)
| ^~
>> sound/soc/mediatek/mt8188/mt8188-dai-pcm.c:230:48: error: 'struct snd_soc_dai' has no member named 'capture_widget'
230 | if (dai->playback_widget->active || dai->capture_widget->active)
| ^~
vim +230 sound/soc/mediatek/mt8188/mt8188-dai-pcm.c
5d43bdd71200e1 Trevor Wu 2023-01-16 225
5d43bdd71200e1 Trevor Wu 2023-01-16 226 /* dai ops */
5d43bdd71200e1 Trevor Wu 2023-01-16 227 static int mtk_dai_pcm_prepare(struct snd_pcm_substream *substream,
5d43bdd71200e1 Trevor Wu 2023-01-16 228 struct snd_soc_dai *dai)
5d43bdd71200e1 Trevor Wu 2023-01-16 229 {
5d43bdd71200e1 Trevor Wu 2023-01-16 @230 if (dai->playback_widget->active || dai->capture_widget->active)
5d43bdd71200e1 Trevor Wu 2023-01-16 231 return 0;
5d43bdd71200e1 Trevor Wu 2023-01-16 232
5d43bdd71200e1 Trevor Wu 2023-01-16 233 return mtk_dai_pcm_configure(substream, dai);
5d43bdd71200e1 Trevor Wu 2023-01-16 234 }
5d43bdd71200e1 Trevor Wu 2023-01-16 235
:::::: The code at line 230 was first introduced by commit
:::::: 5d43bdd71200e1b08b7c4b7f3d3c86fdd23c4a3d ASoC: mediatek: mt8188: support pcmif in platform driver
:::::: TO: Trevor Wu <trevor.wu@mediatek.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-30 19:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 19:01 [broonie-ci:v2_20230124_kuninori_morimoto_gx_asoc_use_helper_function_and_cleanup 117/117] sound/soc/mediatek/mt8188/mt8188-dai-pcm.c:230:16: error: 'struct snd_soc_dai' has no member named 'playback_widget' kernel test robot
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.