summaryrefslogtreecommitdiff
path: root/include/sound/memalloc.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-08-10 14:43:37 +0200
committerTakashi Iwai <tiwai@suse.de>2018-08-28 13:56:46 +0200
commit28f3f4f685d7d7226ba4ed4f78e04c75dd3a5b27 (patch)
tree353c5151d883195cfa85d2c20da7d6b9344d5363 /include/sound/memalloc.h
parent03486830c577d3fe49c1f2c316414552a549ff00 (diff)
ALSA: memalloc: Simplify snd_malloc_dev_pages() calls
snd_malloc_dev_pages() and snd_free_dev_pages() are local functions and the parameters passed there are all contained in snd_dma_buffer object. As a code-simplification, pass snd_dma_buffer object and assign the address there like other allocators do (except for snd_malloc_pages() which is called from outside, hence we can't change easily). Only code refactoring, no functional changes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/memalloc.h')
0 files changed, 0 insertions, 0 deletions