]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rcar: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:25:59 +0000 (15:25 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:43:22 +0000 (16:43 +0000)
commitecf7b19aaa0716479cc57fd080a941f9590f8ab1
treef764a63463ebd5889021f3d1949bfa373e82bb40
parent96360e0438771806baac070dbe9f0e92aa4e6938
ASoC: rcar: Use managed buffer allocation

Clean up the driver with the new managed buffer allocation API.
The superfluous snd_pcm_lib_malloc_pages() and
snd_pcm_lib_free_pages() calls are dropped.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210142614.19405-9-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c