From: Mark Brown Date: Wed, 9 May 2012 18:11:03 +0000 (+0100) Subject: ASoC: wm8994: Fix sparse warning due to use of 0 as NULL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbd71f304a86f0c8a545220967687f02054edea0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: wm8994: Fix sparse warning due to use of 0 as NULL Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index d2db63022607..98e462cbec73 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -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,