summaryrefslogtreecommitdiffstats
path: root/sound/pci/lx6464es
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-26 12:56:21 +0200
committerTakashi Iwai <tiwai@suse.de>2015-05-26 13:00:00 +0200
commite42e748efdb06568d78fb1a47ec66a6c2587412f (patch)
treeedf23deac341c81efa5d3785cc11e369dfebf2b5 /sound/pci/lx6464es
parentALSA: lx6464es: Fix duplicated SSID entries (diff)
downloadlinux-e42e748efdb06568d78fb1a47ec66a6c2587412f.tar.xz
linux-e42e748efdb06568d78fb1a47ec66a6c2587412f.zip
ALSA: lx6464es: Use NULL for pointers
Spotted by sparse: sound/pci/lx6464es/lx6464es.c:415:47: warning: Using plain integer as NULL pointer sound/pci/lx6464es/lx6464es.c:417:48: warning: Using plain integer as NULL pointer Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lx6464es')
-rw-r--r--sound/pci/lx6464es/lx6464es.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c
index 611b9a88784e..cba89beb2b38 100644
--- a/sound/pci/lx6464es/lx6464es.c
+++ b/sound/pci/lx6464es/lx6464es.c
@@ -412,9 +412,9 @@ static int lx_pcm_hw_free(struct snd_pcm_substream *substream)
err = snd_pcm_lib_free_pages(substream);
if (is_capture)
- chip->capture_stream.stream = 0;
+ chip->capture_stream.stream = NULL;
else
- chip->playback_stream.stream = 0;
+ chip->playback_stream.stream = NULL;
exit:
mutex_unlock(&chip->setup_mutex);