diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 20:11:03 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 20:32:40 +0200 |
commit | cbd71f304a86f0c8a545220967687f02054edea0 (patch) | |
tree | 3543f61c7b7050350e1fe9b450526f4fbed97bdf /sound/soc/codecs/wm8994.c | |
parent | ASoC: cs42l73: Use DAPM routes to hook AIF widgets to DAI's (diff) | |
download | linux-cbd71f304a86f0c8a545220967687f02054edea0.tar.xz linux-cbd71f304a86f0c8a545220967687f02054edea0.zip |
ASoC: wm8994: Fix sparse warning due to use of 0 as NULL
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |