mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 22:00:53 +07:00
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>
This commit is contained in:
parent
1983126f97
commit
e42e748efd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user