]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pxa2xx: Use managed PCM buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:28:05 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2021 06:08:21 +0000 (08:08 +0200)
commite50a600b6b999f2c8d119f1d24c646925c0acdc7
treee22bfc810135ae23c581b960ddb295e5faad8712
parent33d661c85f0f5a978f882840a624823fe2953228
ALSA: pxa2xx: Use managed PCM buffer allocation

Now with the recent addition of WC buffer allocation support, we can
use the standard PCM buffer allocation helpers for pxa2xx drivers.
This allows us to remove lots of superfluous code.

Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802072815.13551-6-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pxa2xx-lib.h
sound/arm/pxa2xx-ac97.c
sound/arm/pxa2xx-pcm-lib.c
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/pxa2xx-pcm.c