]> 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)
commite494dbcd9be743f41cf842f94ffbc7c56b6b072a
treef764a63463ebd5889021f3d1949bfa373e82bb40
parentd23a16584b4f4cc7226c75793d1797e5505a193b
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