ALSA: memalloc: Minor refactoring
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:28:01 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2021 06:07:46 +0000 (08:07 +0200)
commit723c1252e058dc854f9d031e3e6526ca62f9f5c7
tree63755baf3037501d5304cddc0264de2f8fa53578
parentd1254593e705e3ef088195850959b4adc878fcee
ALSA: memalloc: Minor refactoring

Return the pointer directly from alloc ops instead of setting
dmab->area at each place.  It simplifies the code a bit.

Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802072815.13551-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c
sound/core/memalloc_local.h
sound/core/sgbuf.c