From: kbuild test robot <lkp@intel.com>
To: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Cc: kbuild-all@01.org, broonie@kernel.org, lgirdwood@gmail.com,
patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] ASoC: wm8998: Initial WM8998 codec driver
Date: Mon, 28 Sep 2015 20:45:45 +0800 [thread overview]
Message-ID: <201509282023.rH2d0rxQ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443443198-29710-4-git-send-email-rf@opensource.wolfsonmicro.com>
[-- Attachment #1: Type: text/plain, Size: 3771 bytes --]
Hi Richard,
[auto build test results on next-20150925 -- if it's inappropriate base, please ignore]
config: i386-allmodconfig (attached as .config)
reproduce:
git checkout ab5dc265e390dfc32011868e02eef600f40efc41
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
sound/soc/codecs/wm8998.c: In function 'wm8998_in1mux_put':
>> sound/soc/codecs/wm8998.c:155:45: error: 'struct snd_soc_codec' has no member named 'dapm'
return snd_soc_dapm_mux_update_power(&codec->dapm, kcontrol,
^
sound/soc/codecs/wm8998.c: In function 'wm8998_in2mux_put':
sound/soc/codecs/wm8998.c:190:45: error: 'struct snd_soc_codec' has no member named 'dapm'
return snd_soc_dapm_mux_update_power(&codec->dapm, kcontrol,
^
sound/soc/codecs/wm8998.c: In function 'wm8998_codec_probe':
sound/soc/codecs/wm8998.c:1308:35: error: 'struct snd_soc_codec' has no member named 'dapm'
priv->core.arizona->dapm = &codec->dapm;
^
sound/soc/codecs/wm8998.c:1313:33: error: 'struct snd_soc_codec' has no member named 'dapm'
snd_soc_dapm_disable_pin(&codec->dapm, "HAPTICS");
^
sound/soc/codecs/wm8998.c:1315:35: error: 'struct snd_soc_codec' has no member named 'dapm'
priv->core.arizona->dapm = &codec->dapm;
^
sound/soc/codecs/wm8998.c: In function 'wm8998_in2mux_put':
>> sound/soc/codecs/wm8998.c:193:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
sound/soc/codecs/wm8998.c: In function 'wm8998_in1mux_put':
sound/soc/codecs/wm8998.c:158:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +155 sound/soc/codecs/wm8998.c
149 ARIZONA_IN1L_SRC_MASK |
150 ARIZONA_IN1L_SRC_SE_MASK,
151 src_val);
152 break;
153 }
154
> 155 return snd_soc_dapm_mux_update_power(&codec->dapm, kcontrol,
156 ucontrol->value.enumerated.item[0],
157 e, NULL);
158 }
159
160 static int wm8998_in2mux_put(struct snd_kcontrol *kcontrol,
161 struct snd_ctl_elem_value *ucontrol)
162 {
163 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol);
164 struct wm8998_priv *wm8998 = snd_soc_codec_get_drvdata(codec);
165 struct arizona *arizona = wm8998->core.arizona;
166 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
167 unsigned int mux, inmode, src_val, mode_val;
168
169 mux = ucontrol->value.enumerated.item[0];
170 if (mux > 1)
171 return -EINVAL;
172
173 inmode = arizona->pdata.inmode[1 + (2 * mux)];
174 if (inmode & ARIZONA_INMODE_DMIC)
175 mode_val = 1 << ARIZONA_IN2_MODE_SHIFT;
176 else
177 mode_val = 0;
178
179 src_val = mux << ARIZONA_IN2L_SRC_SHIFT;
180 if (inmode & ARIZONA_INMODE_SE)
181 src_val |= 1 << ARIZONA_IN2L_SRC_SE_SHIFT;
182
183 snd_soc_update_bits(codec, ARIZONA_IN2L_CONTROL,
184 ARIZONA_IN2_MODE_MASK, mode_val);
185
186 snd_soc_update_bits(codec, ARIZONA_ADC_DIGITAL_VOLUME_2L,
187 ARIZONA_IN2L_SRC_MASK | ARIZONA_IN2L_SRC_SE_MASK,
188 src_val);
189
190 return snd_soc_dapm_mux_update_power(&codec->dapm, kcontrol,
191 ucontrol->value.enumerated.item[0],
192 e, NULL);
> 193 }
194
195 static const char * const wm8998_inmux_texts[] = {
196 "A",
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 51745 bytes --]
prev parent reply other threads:[~2015-09-28 12:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 12:26 [PATCH 0/3] Add support for Wolfson Micro WM8998 codec Richard Fitzgerald
2015-09-28 12:26 ` [PATCH 1/3] regulator: arizona: add support for WM8998 and WM1814 Richard Fitzgerald
2015-09-28 12:26 ` [PATCH 2/3] ASoC: arizona: add defines for single-input gain control Richard Fitzgerald
2015-09-28 12:26 ` [PATCH 3/3] ASoC: wm8998: Initial WM8998 codec driver Richard Fitzgerald
2015-09-28 12:45 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201509282023.rH2d0rxQ%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=kbuild-all@01.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.wolfsonmicro.com \
--cc=rf@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®