diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 14:11:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 14:32:40 -0400 |
commit | cbd71f304a86f0c8a545220967687f02054edea0 (patch) | |
tree | 3543f61c7b7050350e1fe9b450526f4fbed97bdf /sound/soc/codecs/wm8994.c | |
parent | 33d0188ce69cea1841ceabe8e6c0cd07e2d6a894 (diff) |
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) | |||
792 | 792 | ||
793 | switch (wm8994->vmid_mode) { | 793 | switch (wm8994->vmid_mode) { |
794 | default: | 794 | default: |
795 | WARN_ON(0 == "Invalid VMID mode"); | 795 | WARN_ON(NULL == "Invalid VMID mode"); |
796 | case WM8994_VMID_NORMAL: | 796 | case WM8994_VMID_NORMAL: |
797 | /* Startup bias, VMID ramp & buffer */ | 797 | /* Startup bias, VMID ramp & buffer */ |
798 | snd_soc_update_bits(codec, WM8994_ANTIPOP_2, | 798 | snd_soc_update_bits(codec, WM8994_ANTIPOP_2, |