Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbd71f30 authored by Mark Brown's avatar Mark Brown
Browse files

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

parent 33d0188c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,