* [omap-audio:peter/linux-next-wip 36/86] sound/soc/codecs/tas2555.c:604:4: error: implicit declaration of function 'snd_soc_component_read32'; did you mean
@ 2020-06-30 9:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-30 9:17 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 26860 bytes --]
tree: https://github.com/omap-audio/linux-audio peter/linux-next-wip
head: 08fa1607a7bc9c3dcd9d5e0414dd1b41aa8b486b
commit: 1a28fb78bd910965db441572be2d59391fa77fa0 [36/86] ASoC: Initial driver for TAS2555 Smart Amplifier
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 1a28fb78bd910965db441572be2d59391fa77fa0
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'pll_id' not described in 'da7210_set_dai_pll'
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'source' not described in 'da7210_set_dai_pll'
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'fref' not described in 'da7210_set_dai_pll'
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'fout' not described in 'da7210_set_dai_pll'
In file included from include/sound/tlv.h:10,
from sound/soc/codecs/jz4770.c:19:
sound/soc/codecs/jz4770.c:306:35: warning: 'mic_boost_tlv' defined but not used [-Wunused-const-variable=]
306 | static const DECLARE_TLV_DB_SCALE(mic_boost_tlv, 0, 400, 0);
| ^~~~~~~~~~~~~
include/uapi/sound/tlv.h:64:15: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
64 | unsigned int name[] = { \
| ^~~~
sound/soc/codecs/jz4770.c:306:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
306 | static const DECLARE_TLV_DB_SCALE(mic_boost_tlv, 0, 400, 0);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/max98390.c:948:34: warning: 'max98390_dt_ids' defined but not used [-Wunused-const-variable=]
948 | static const struct of_device_id max98390_dt_ids[] = {
| ^~~~~~~~~~~~~~~
In file included from sound/soc/codecs/rt5659.c:25:
sound/soc/codecs/rt5659.c:1232:2: warning: 'rt5659_ad_monor_asrc_enum' defined but not used [-Wunused-const-variable=]
1232 | rt5659_ad_monor_asrc_enum, RT5659_ASRC_3, RT5659_AD_MONO_R_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1231:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1231 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1228:2: warning: 'rt5659_ad_monol_asrc_enum' defined but not used [-Wunused-const-variable=]
1228 | rt5659_ad_monol_asrc_enum, RT5659_ASRC_3, RT5659_AD_MONO_L_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1227:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1227 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1224:2: warning: 'rt5659_ad_sto2_asrc_enum' defined but not used [-Wunused-const-variable=]
1224 | rt5659_ad_sto2_asrc_enum, RT5659_ASRC_3, RT5659_AD_STO2_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1223:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1223 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1220:2: warning: 'rt5659_ad_sto1_asrc_enum' defined but not used [-Wunused-const-variable=]
1220 | rt5659_ad_sto1_asrc_enum, RT5659_ASRC_2, RT5659_AD_STO1_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1219:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1219 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1216:2: warning: 'rt5659_da_monor_asrc_enum' defined but not used [-Wunused-const-variable=]
1216 | rt5659_da_monor_asrc_enum, RT5659_ASRC_2, RT5659_DA_MONO_R_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1215:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1215 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1212:2: warning: 'rt5659_da_monol_asrc_enum' defined but not used [-Wunused-const-variable=]
1212 | rt5659_da_monol_asrc_enum, RT5659_ASRC_2, RT5659_DA_MONO_L_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1211:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1211 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1208:2: warning: 'rt5659_da_sto_asrc_enum' defined but not used [-Wunused-const-variable=]
1208 | rt5659_da_sto_asrc_enum, RT5659_ASRC_2, RT5659_DA_STO_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1207:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1207 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'component' not described in 'rt5631_write_index'
sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'reg' not described in 'rt5631_write_index'
sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'value' not described in 'rt5631_write_index'
sound/soc/codecs/rt5631.c:82: warning: Function parameter or member 'component' not described in 'rt5631_read_index'
sound/soc/codecs/rt5631.c:82: warning: Function parameter or member 'reg' not described in 'rt5631_read_index'
sound/soc/codecs/rt5631.c:367: warning: Function parameter or member 'component' not described in 'onebit_depop_power_stage'
sound/soc/codecs/rt5631.c:405: warning: Function parameter or member 'component' not described in 'onebit_depop_mute_stage'
sound/soc/codecs/rt5631.c:443: warning: Function parameter or member 'component' not described in 'depop_seq_power_stage'
sound/soc/codecs/rt5631.c:515: warning: Function parameter or member 'component' not described in 'depop_seq_mute_stage'
sound/soc/codecs/tas2555.c: In function 'tas2555_read':
sound/soc/codecs/tas2555.c:96:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
96 | int ret;
| ^~~
In file included from include/linux/device.h:15,
from include/linux/acpi.h:15,
from include/linux/i2c.h:13,
from sound/soc/codecs/tas2555.c:15:
sound/soc/codecs/tas2555.c: In function 'tas2555_fw_ready':
>> sound/soc/codecs/tas2555.c:604:4: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'? [-Werror=implicit-function-declaration]
604 | snd_soc_component_read32(component, TAS2555_CRC_CHECKSUM_REG));
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:110:33: note: in definition of macro 'dev_info'
110 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:280: sound/soc/codecs/tas2555.o] Error 1
sound/soc/codecs/tlv320aic26.c:138: warning: Function parameter or member 'dai' not described in 'aic26_mute'
sound/soc/codecs/tlv320aic26.c:138: warning: Function parameter or member 'mute' not described in 'aic26_mute'
sound/soc/codecs/wm8400.c:443:38: warning: 'wm8400_dapm_rxvoice_controls' defined but not used [-Wunused-const-variable=]
443 | static const struct snd_kcontrol_new wm8400_dapm_rxvoice_controls[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/sound/tlv.h:10,
from sound/soc/codecs/wm8400.c:26:
sound/soc/codecs/wm8400.c:78:35: warning: 'out_omix_tlv' defined but not used [-Wunused-const-variable=]
78 | static const DECLARE_TLV_DB_SCALE(out_omix_tlv, -600, 0, 0);
| ^~~~~~~~~~~~
include/uapi/sound/tlv.h:64:15: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
64 | unsigned int name[] = { \
| ^~~~
sound/soc/codecs/wm8400.c:78:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
78 | static const DECLARE_TLV_DB_SCALE(out_omix_tlv, -600, 0, 0);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8400.c:70:35: warning: 'rec_mix_tlv' defined but not used [-Wunused-const-variable=]
70 | static const DECLARE_TLV_DB_SCALE(rec_mix_tlv, -1500, 600, 0);
| ^~~~~~~~~~~
include/uapi/sound/tlv.h:64:15: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
64 | unsigned int name[] = { \
| ^~~~
sound/soc/codecs/wm8400.c:70:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
70 | static const DECLARE_TLV_DB_SCALE(rec_mix_tlv, -1500, 600, 0);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8960.c:629: warning: Function parameter or member 'wm8960' not described in 'wm8960_configure_sysclk'
sound/soc/codecs/wm8960.c:629: warning: Excess function parameter 'wm8960_priv' description in 'wm8960_configure_sysclk'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'component' not described in 'wm9713_set_pll'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'pll_id' not described in 'wm9713_set_pll'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'freq_in' not described in 'wm9713_set_pll'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'freq_out' not described in 'wm9713_set_pll'
sound/soc/codecs/wm8996.c:2238: warning: Function parameter or member 'component' not described in 'wm8996_detect'
sound/soc/codecs/wm8996.c:2238: warning: Function parameter or member 'jack' not described in 'wm8996_detect'
sound/soc/codecs/wm8996.c:2238: warning: Function parameter or member 'polarity_cb' not described in 'wm8996_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'det_cb' not described in 'wm8958_mic_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'det_cb_data' not described in 'wm8958_mic_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'id_cb' not described in 'wm8958_mic_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'id_cb_data' not described in 'wm8958_mic_detect'
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: sound/soc/codecs] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: sound/soc] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1765: sound] Error 2
make[1]: Target 'sound/soc/' not remade because of errors.
--
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'pll_id' not described in 'da7210_set_dai_pll'
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'source' not described in 'da7210_set_dai_pll'
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'fref' not described in 'da7210_set_dai_pll'
sound/soc/codecs/da7210.c:985: warning: Function parameter or member 'fout' not described in 'da7210_set_dai_pll'
In file included from include/sound/tlv.h:10,
from sound/soc/codecs/jz4770.c:19:
sound/soc/codecs/jz4770.c:306:35: warning: 'mic_boost_tlv' defined but not used [-Wunused-const-variable=]
306 | static const DECLARE_TLV_DB_SCALE(mic_boost_tlv, 0, 400, 0);
| ^~~~~~~~~~~~~
include/uapi/sound/tlv.h:64:15: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
64 | unsigned int name[] = { \
| ^~~~
sound/soc/codecs/jz4770.c:306:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
306 | static const DECLARE_TLV_DB_SCALE(mic_boost_tlv, 0, 400, 0);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/max98390.c:948:34: warning: 'max98390_dt_ids' defined but not used [-Wunused-const-variable=]
948 | static const struct of_device_id max98390_dt_ids[] = {
| ^~~~~~~~~~~~~~~
In file included from sound/soc/codecs/rt5659.c:25:
sound/soc/codecs/rt5659.c:1232:2: warning: 'rt5659_ad_monor_asrc_enum' defined but not used [-Wunused-const-variable=]
1232 | rt5659_ad_monor_asrc_enum, RT5659_ASRC_3, RT5659_AD_MONO_R_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1231:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1231 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1228:2: warning: 'rt5659_ad_monol_asrc_enum' defined but not used [-Wunused-const-variable=]
1228 | rt5659_ad_monol_asrc_enum, RT5659_ASRC_3, RT5659_AD_MONO_L_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1227:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1227 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1224:2: warning: 'rt5659_ad_sto2_asrc_enum' defined but not used [-Wunused-const-variable=]
1224 | rt5659_ad_sto2_asrc_enum, RT5659_ASRC_3, RT5659_AD_STO2_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1223:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1223 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1220:2: warning: 'rt5659_ad_sto1_asrc_enum' defined but not used [-Wunused-const-variable=]
1220 | rt5659_ad_sto1_asrc_enum, RT5659_ASRC_2, RT5659_AD_STO1_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1219:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1219 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1216:2: warning: 'rt5659_da_monor_asrc_enum' defined but not used [-Wunused-const-variable=]
1216 | rt5659_da_monor_asrc_enum, RT5659_ASRC_2, RT5659_DA_MONO_R_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1215:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1215 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1212:2: warning: 'rt5659_da_monol_asrc_enum' defined but not used [-Wunused-const-variable=]
1212 | rt5659_da_monol_asrc_enum, RT5659_ASRC_2, RT5659_DA_MONO_L_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1211:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1211 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5659.c:1208:2: warning: 'rt5659_da_sto_asrc_enum' defined but not used [-Wunused-const-variable=]
1208 | rt5659_da_sto_asrc_enum, RT5659_ASRC_2, RT5659_DA_STO_T_SFT, 0x7,
| ^~~~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:359:24: note: in definition of macro 'SOC_VALUE_ENUM_DOUBLE_DECL'
359 | const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
| ^~~~
sound/soc/codecs/rt5659.c:1207:8: note: in expansion of macro 'SOC_VALUE_ENUM_SINGLE_DECL'
1207 | static SOC_VALUE_ENUM_SINGLE_DECL(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'component' not described in 'rt5631_write_index'
sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'reg' not described in 'rt5631_write_index'
sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'value' not described in 'rt5631_write_index'
sound/soc/codecs/rt5631.c:82: warning: Function parameter or member 'component' not described in 'rt5631_read_index'
sound/soc/codecs/rt5631.c:82: warning: Function parameter or member 'reg' not described in 'rt5631_read_index'
sound/soc/codecs/rt5631.c:367: warning: Function parameter or member 'component' not described in 'onebit_depop_power_stage'
sound/soc/codecs/rt5631.c:405: warning: Function parameter or member 'component' not described in 'onebit_depop_mute_stage'
sound/soc/codecs/rt5631.c:443: warning: Function parameter or member 'component' not described in 'depop_seq_power_stage'
sound/soc/codecs/rt5631.c:515: warning: Function parameter or member 'component' not described in 'depop_seq_mute_stage'
sound/soc/codecs/tas2555.c: In function 'tas2555_read':
sound/soc/codecs/tas2555.c:96:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
96 | int ret;
| ^~~
In file included from include/linux/device.h:15,
from include/linux/acpi.h:15,
from include/linux/i2c.h:13,
from sound/soc/codecs/tas2555.c:15:
sound/soc/codecs/tas2555.c: In function 'tas2555_fw_ready':
>> sound/soc/codecs/tas2555.c:604:4: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'? [-Werror=implicit-function-declaration]
604 | snd_soc_component_read32(component, TAS2555_CRC_CHECKSUM_REG));
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:110:33: note: in definition of macro 'dev_info'
110 | _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:280: sound/soc/codecs/tas2555.o] Error 1
sound/soc/codecs/tlv320aic26.c:138: warning: Function parameter or member 'dai' not described in 'aic26_mute'
sound/soc/codecs/tlv320aic26.c:138: warning: Function parameter or member 'mute' not described in 'aic26_mute'
sound/soc/codecs/wm8400.c:443:38: warning: 'wm8400_dapm_rxvoice_controls' defined but not used [-Wunused-const-variable=]
443 | static const struct snd_kcontrol_new wm8400_dapm_rxvoice_controls[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/sound/tlv.h:10,
from sound/soc/codecs/wm8400.c:26:
sound/soc/codecs/wm8400.c:78:35: warning: 'out_omix_tlv' defined but not used [-Wunused-const-variable=]
78 | static const DECLARE_TLV_DB_SCALE(out_omix_tlv, -600, 0, 0);
| ^~~~~~~~~~~~
include/uapi/sound/tlv.h:64:15: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
64 | unsigned int name[] = { \
| ^~~~
sound/soc/codecs/wm8400.c:78:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
78 | static const DECLARE_TLV_DB_SCALE(out_omix_tlv, -600, 0, 0);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8400.c:70:35: warning: 'rec_mix_tlv' defined but not used [-Wunused-const-variable=]
70 | static const DECLARE_TLV_DB_SCALE(rec_mix_tlv, -1500, 600, 0);
| ^~~~~~~~~~~
include/uapi/sound/tlv.h:64:15: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
64 | unsigned int name[] = { \
| ^~~~
sound/soc/codecs/wm8400.c:70:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
70 | static const DECLARE_TLV_DB_SCALE(rec_mix_tlv, -1500, 600, 0);
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8960.c:629: warning: Function parameter or member 'wm8960' not described in 'wm8960_configure_sysclk'
sound/soc/codecs/wm8960.c:629: warning: Excess function parameter 'wm8960_priv' description in 'wm8960_configure_sysclk'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'component' not described in 'wm9713_set_pll'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'pll_id' not described in 'wm9713_set_pll'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'freq_in' not described in 'wm9713_set_pll'
sound/soc/codecs/wm9713.c:816: warning: Function parameter or member 'freq_out' not described in 'wm9713_set_pll'
sound/soc/codecs/wm8996.c:2238: warning: Function parameter or member 'component' not described in 'wm8996_detect'
sound/soc/codecs/wm8996.c:2238: warning: Function parameter or member 'jack' not described in 'wm8996_detect'
sound/soc/codecs/wm8996.c:2238: warning: Function parameter or member 'polarity_cb' not described in 'wm8996_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'det_cb' not described in 'wm8958_mic_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'det_cb_data' not described in 'wm8958_mic_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'id_cb' not described in 'wm8958_mic_detect'
sound/soc/codecs/wm8994.c:3894: warning: Function parameter or member 'id_cb_data' not described in 'wm8958_mic_detect'
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: sound/soc/codecs] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:497: sound/soc] Error 2
make[2]: Target '__build' not remade because of errors.
..
vim +604 sound/soc/codecs/tas2555.c
558
559 static void tas2555_fw_ready(const struct firmware *fw, void *context)
560 {
561 struct snd_soc_component *component = (struct snd_soc_component *)context;
562 struct ti_dsp_fw_header *header;
563 struct ti_dsp_fw_entry *cmd;
564 size_t count;
565 unsigned int reg;
566 const u8 *data;
567
568 if (unlikely(!fw) || unlikely(!fw->data)) {
569 dev_info(component->dev, "%s firmware is not loaded.\n",
570 TAS2555_FW_MAME);
571 return;
572 }
573 data = fw->data;
574
575 header = (struct ti_dsp_fw_header *) fw->data;
576 if (header->deviceID != TAS2555_DEVICE_ID) {
577 dev_err(component->dev, "FW device ID (%u) is not valid.\n",
578 header->deviceID);
579 return;
580 }
581
582 dev_dbg(component->dev, "Firmware version %02u.%02u for customer: %u.\n",
583 header->fw_version.major, header->fw_version.minor,
584 header->customerID);
585
586 count = sizeof(*header);
587
588 snd_soc_component_write(component, TAS2555_CRC_RESET_REG, 1);
589 do {
590 cmd = (struct ti_dsp_fw_entry *) &data[count];
591 reg = TAS2555_REG((unsigned int)cmd->book,
592 (unsigned int)cmd->page,
593 (unsigned int)cmd->reg);
594 if (cmd->len == 1)
595 tas2555_write(component, reg, cmd->data[0]);
596 else
597 tas2555_bulk_write(component, reg, cmd->data, cmd->len);
598 count += sizeof(*cmd) + cmd->len;
599 } while(count < fw->size);
600
601 release_firmware(fw);
602
603 dev_info(component->dev, "uCDSP Checksum: 0x%02x\n",
> 604 snd_soc_component_read32(component, TAS2555_CRC_CHECKSUM_REG));
605 return;
606 }
607
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 74279 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-30 9:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 9:17 [omap-audio:peter/linux-next-wip 36/86] sound/soc/codecs/tas2555.c:604:4: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 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.