Commit cbd71f30 authored by Mark Brown's avatar Mark Brown

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

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment