diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-05 20:10:07 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-06 15:43:34 +0100 |
commit | d39789912f150b66515ccda7ed00bba828a334d4 (patch) | |
tree | 2c43485ace2671eb6f7860791286223d4c735ca7 /sound/drivers/dummy.c | |
parent | a55eaf177a36f7789eec0985a7edd00fe7353d90 (diff) |
ALSA: pcm: Create proc files only for non-empty preallocations
It makes little sense to create prealloc proc files for streams that
have the zero max size, which is a typical case for vmalloc buffers.
Skip the proc file creations to save resources in such a case.
Link: https://lore.kernel.org/r/20191105191007.18150-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/dummy.c')
0 files changed, 0 insertions, 0 deletions