提交 cbd71f30 编写于 作者: M Mark Brown

ASoC: wm8994: Fix sparse warning due to use of 0 as NULL

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 33d0188c
......@@ -792,7 +792,7 @@ static void vmid_reference(struct snd_soc_codec *codec)
switch (wm8994->vmid_mode) {
default:
WARN_ON(0 == "Invalid VMID mode");
WARN_ON(NULL == "Invalid VMID mode");
case WM8994_VMID_NORMAL:
/* Startup bias, VMID ramp & buffer */
snd_soc_update_bits(codec, WM8994_ANTIPOP_2,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册