]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: pcm: Make snd_pcm_lib_malloc_pages() debug message say "allocate"
authorChen-Yu Tsai <wenst@chromium.org>
Mon, 21 Apr 2025 08:52:42 +0000 (16:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Apr 2025 13:00:24 +0000 (15:00 +0200)
commit05100d16412ff61a1488a4dfdbce39267b35f0cc
tree90fac1fdec61b91861d6ff956a40fbebf2eddb7e
parent813e311e613442a748384a0ee0a8f45e4bac6ff7
ALSA: pcm: Make snd_pcm_lib_malloc_pages() debug message say "allocate"

snd_pcm_lib_malloc_pages() is commonly used for allocating buffers during
the hw_params callback, whereas preallocating buffers goes through
preallocate_pcm_pages().

Having the same terminology in the failure debug messages in both
misleads developers.

Change the debug message in snd_pcm_lib_malloc_pages() to use the
term "allocate" to match its intended use.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://patch.msgid.link/20250421085244.377228-1-wenst@chromium.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_memory.c