* Re: [PATCH v4 4/6] ASoC: meson: g12a-toacodec: Add s4 tocodec driver
[not found] <20250319-audio_drvier-v4-4-686867fad719@amlogic.com>
@ 2025-03-20 8:29 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-20 8:29 UTC (permalink / raw)
To: jiebing chen via B4 Relay, Jerome Brunet, Liam Girdwood,
Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jaroslav Kysela, Takashi Iwai, Neil Armstrong, Kevin Hilman,
Martin Blumenstingl, Michael Turquette, Stephen Boyd
Cc: llvm, oe-kbuild-all, linux-sound, devicetree, linux-kernel,
linux-arm-kernel, linux-amlogic, linux-clk, jian.xu, shuai.li,
zhe.wang, jiebing chen
Hi jiebing,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab]
url: https://github.com/intel-lab-lkp/linux/commits/jiebing-chen-via-B4-Relay/dt-bindings-clock-meson-Add-audio-power-domain-for-s4-soc/20250319-151110
base: 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab
patch link: https://lore.kernel.org/r/20250319-audio_drvier-v4-4-686867fad719%40amlogic.com
patch subject: [PATCH v4 4/6] ASoC: meson: g12a-toacodec: Add s4 tocodec driver
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250320/202503201641.wf8Oe0aR-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250320/202503201641.wf8Oe0aR-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/202503201641.wf8Oe0aR-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/soc/meson/g12a-toacodec.c:135:38: warning: unused variable 's4_toacodec_clk_enable' [-Wunused-const-variable]
135 | static const struct snd_kcontrol_new s4_toacodec_clk_enable =
| ^~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +/s4_toacodec_clk_enable +135 sound/soc/meson/g12a-toacodec.c
112
113 static SOC_ENUM_SINGLE_DECL(g12a_toacodec_mux_enum, TOACODEC_CTRL0,
114 CTRL0_DAT_SEL_LSB,
115 g12a_toacodec_mux_texts);
116
117 static SOC_ENUM_SINGLE_DECL(sm1_toacodec_mux_enum, TOACODEC_CTRL0,
118 CTRL0_DAT_SEL_SM1_LSB,
119 g12a_toacodec_mux_texts);
120
121 static const struct snd_kcontrol_new g12a_toacodec_mux =
122 SOC_DAPM_ENUM_EXT("Source", g12a_toacodec_mux_enum,
123 snd_soc_dapm_get_enum_double,
124 g12a_toacodec_mux_put_enum);
125
126 static const struct snd_kcontrol_new sm1_toacodec_mux =
127 SOC_DAPM_ENUM_EXT("Source", sm1_toacodec_mux_enum,
128 snd_soc_dapm_get_enum_double,
129 g12a_toacodec_mux_put_enum);
130
131 static const struct snd_kcontrol_new g12a_toacodec_out_enable =
132 SOC_DAPM_SINGLE_AUTODISABLE("Switch", TOACODEC_CTRL0,
133 CTRL0_ENABLE_SHIFT, 1, 0);
134
> 135 static const struct snd_kcontrol_new s4_toacodec_clk_enable =
136 SOC_DAPM_DOUBLE("Switch", TOACODEC_CTRL0,
137 CTRL0_BCLK_ENABLE_SHIFT, CTRL0_MCLK_ENABLE_SHIFT, 1, 0);
138
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread