tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/arizona head: 69a6582eeb17dc083b2510f1ca2eaa54ff679b49 commit: 21a37e39e02d7f57691219fee88cf1d48a74e5bd [1/7] ASoC: arizona: Use auto disable muxes for routing config: xtensa-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/ma... -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 21a37e39e02d7f57691219fee88cf1d48a74e5bd # save the attached .config to linux build tree make.cross ARCH=xtensa
All error/warnings:
In file included from sound/soc/codecs/wm5102.c:33:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^
sound/soc/codecs/arizona.h:122:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS'
ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ ^
sound/soc/codecs/wm5102.c:943:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm5102.c:943:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm5102.c:24:
sound/soc/codecs/wm5102.c:943:21: error: 'EQ1_in1_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^
sound/soc/codecs/arizona.h:122:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS'
ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ ^
sound/soc/codecs/wm5102.c:943:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm5102.c:33:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^ sound/soc/codecs/arizona.h:123:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ ^
sound/soc/codecs/wm5102.c:943:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm5102.c:943:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm5102.c:24:
sound/soc/codecs/wm5102.c:943:21: error: 'EQ1_in2_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^ sound/soc/codecs/arizona.h:123:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ ^
sound/soc/codecs/wm5102.c:943:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm5102.c:33:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^ sound/soc/codecs/arizona.h:124:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ ^
sound/soc/codecs/wm5102.c:943:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm5102.c:943:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm5102.c:24:
sound/soc/codecs/wm5102.c:943:21: error: 'EQ1_in3_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^ sound/soc/codecs/arizona.h:124:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ ^
sound/soc/codecs/wm5102.c:943:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm5102.c:33:0: -- In file included from sound/soc/codecs/wm5110.c:32:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^
sound/soc/codecs/arizona.h:122:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS'
ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ ^
sound/soc/codecs/wm5110.c:470:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm5110.c:470:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm5110.c:24:
sound/soc/codecs/wm5110.c:470:21: error: 'EQ1_in1_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^
sound/soc/codecs/arizona.h:122:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS'
ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ ^
sound/soc/codecs/wm5110.c:470:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm5110.c:32:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^ sound/soc/codecs/arizona.h:123:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ ^
sound/soc/codecs/wm5110.c:470:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm5110.c:470:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm5110.c:24:
sound/soc/codecs/wm5110.c:470:21: error: 'EQ1_in2_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^ sound/soc/codecs/arizona.h:123:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ ^
sound/soc/codecs/wm5110.c:470:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm5110.c:32:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^ sound/soc/codecs/arizona.h:124:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ ^
sound/soc/codecs/wm5110.c:470:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm5110.c:470:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm5110.c:24:
sound/soc/codecs/wm5110.c:470:21: error: 'EQ1_in3_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^ sound/soc/codecs/arizona.h:124:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ ^
sound/soc/codecs/wm5110.c:470:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm5110.c:32:0: -- In file included from sound/soc/codecs/wm8997.c:32:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^
sound/soc/codecs/arizona.h:122:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS'
ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ ^
sound/soc/codecs/wm8997.c:333:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm8997.c:333:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm8997.c:24:
sound/soc/codecs/wm8997.c:333:21: error: 'EQ1_in1_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^
sound/soc/codecs/arizona.h:122:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS'
ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ ^
sound/soc/codecs/wm8997.c:333:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm8997.c:32:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^ sound/soc/codecs/arizona.h:123:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ ^
sound/soc/codecs/wm8997.c:333:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm8997.c:333:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm8997.c:24:
sound/soc/codecs/wm8997.c:333:21: error: 'EQ1_in2_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^ sound/soc/codecs/arizona.h:123:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ ^
sound/soc/codecs/wm8997.c:333:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm8997.c:32:0:
include/linux/mfd/arizona/registers.h:646:50: error: expected ')' before numeric constant
#define ARIZONA_EQ1MIX_INPUT_1_SOURCE 0x880 ^ sound/soc/codecs/arizona.h:111:9: note: in definition of macro 'ARIZONA_MUX_ENUM_DECL' name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) ^ sound/soc/codecs/arizona.h:124:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ ^
sound/soc/codecs/wm8997.c:333:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^
sound/soc/codecs/wm8997.c:333:26: note: in expansion of macro 'ARIZONA_EQ1MIX_INPUT_1_SOURCE'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from include/sound/soc.h:365:0, from sound/soc/codecs/wm8997.c:24:
sound/soc/codecs/wm8997.c:333:21: error: 'EQ1_in3_enum' undeclared here (not in a function)
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ include/sound/soc-dapm.h:298:37: note: in definition of macro 'SOC_DAPM_ENUM' .private_value = (unsigned long)&xenum } ^
sound/soc/codecs/arizona.h:119:9: note: in expansion of macro 'ARIZONA_MUX_CTL_DECL'
static ARIZONA_MUX_CTL_DECL(name) ^ sound/soc/codecs/arizona.h:124:2: note: in expansion of macro 'ARIZONA_MUX_ENUMS' ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ ^
sound/soc/codecs/wm8997.c:333:1: note: in expansion of macro 'ARIZONA_MIXER_ENUMS'
ARIZONA_MIXER_ENUMS(EQ1, ARIZONA_EQ1MIX_INPUT_1_SOURCE); ^ In file included from sound/soc/codecs/wm8997.c:32:0:
vim +/ARIZONA_MUX_ENUMS +122 sound/soc/codecs/arizona.h
07ed873e Mark Brown 2012-06-18 105 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 07ed873e Mark Brown 2012-06-18 106 ARIZONA_MIXER_VOL_SHIFT, 0x20, 0x50, 0, \ 07ed873e Mark Brown 2012-06-18 107 arizona_mixer_tlv) 07ed873e Mark Brown 2012-06-18 108 07ed873e Mark Brown 2012-06-18 109 #define ARIZONA_MUX_ENUM_DECL(name, reg) \ 21a37e39 Charles Keepax 2015-05-01 110 SOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL( \ 21a37e39 Charles Keepax 2015-05-01 @111 name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) 07ed873e Mark Brown 2012-06-18 112 07ed873e Mark Brown 2012-06-18 113 #define ARIZONA_MUX_CTL_DECL(name) \ 07ed873e Mark Brown 2012-06-18 114 const struct snd_kcontrol_new name##_mux = \ 355e3a08 Lars-Peter Clausen 2014-04-14 115 SOC_DAPM_ENUM("Route", name##_enum) 07ed873e Mark Brown 2012-06-18 116 17bd09e5 Charles Keepax 2012-11-13 117 #define ARIZONA_MUX_ENUMS(name, base_reg) \ 17bd09e5 Charles Keepax 2012-11-13 118 static ARIZONA_MUX_ENUM_DECL(name##_enum, base_reg); \ 17bd09e5 Charles Keepax 2012-11-13 @119 static ARIZONA_MUX_CTL_DECL(name) 17bd09e5 Charles Keepax 2012-11-13 120 07ed873e Mark Brown 2012-06-18 121 #define ARIZONA_MIXER_ENUMS(name, base_reg) \ 17bd09e5 Charles Keepax 2012-11-13 @122 ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ 17bd09e5 Charles Keepax 2012-11-13 123 ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ 17bd09e5 Charles Keepax 2012-11-13 124 ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ 17bd09e5 Charles Keepax 2012-11-13 125 ARIZONA_MUX_ENUMS(name##_in4, base_reg + 6)
:::::: The code at line 122 was first introduced by commit :::::: 17bd09e5457740425fee6ca2bb685a2a55c12c18 ASoC: arizona: Add support for multiplexer with no associated mixer
:::::: TO: Charles Keepax ckeepax@opensource.wolfsonmicro.com :::::: CC: Mark Brown broonie@opensource.wolfsonmicro.com
--- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation