diff options
author | 2020-06-15 18:00:43 +0200 | |
---|---|---|
committer | 2020-06-15 18:01:42 +0200 | |
commit | 28e60dbb83f76b18acade913dfdb029cd908c9b0 (patch) | |
tree | fc8191cf2feb2257a8ee5fe85b9d34a1dee4cfab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: pcm: Use dma_mmap_coherent() on x86, too (diff) | |
download | linux-dev-28e60dbb83f76b18acade913dfdb029cd908c9b0.tar.xz linux-dev-28e60dbb83f76b18acade913dfdb029cd908c9b0.zip |
ALSA: memalloc: Initialize all fields of snd_dma_buffer properly
Some fields in snd_dma_buffer aren't touched in snd_dma_alloc_pages()
and might be left uninitialized. Let's clear all fields properly, so
that we can use a NULL check (e.g. dmab->private_data) as conditional
in a later patch.
Link: https://lore.kernel.org/r/20200615160045.2703-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions