linux/sound/sparc
Takashi Iwai 7580cfd377 ALSA: sparc: Fix invalid snd_free_pages() at error path
commit 9a20332ab3 upstream.

Some spurious calls of snd_free_pages() have been overlooked and
remain in the error paths of sparc cs4231 driver code.  Since
runtime->dma_area is managed by the PCM core helper, we shouldn't
release manually.

Drop the superfluous calls.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-02-11 17:54:11 +00:00
..
amd7930.c ALSA: sparc: Convert to snd_card_new() with a device pointer 2014-02-14 08:14:07 +01:00
cs4231.c ALSA: sparc: Fix invalid snd_free_pages() at error path 2019-02-11 17:54:11 +00:00
dbri.c ALSA: sparc: Convert to snd_card_new() with a device pointer 2014-02-14 08:14:07 +01:00
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
Makefile [ALSA] Add DBRI driver on Sparcs 2005-07-28 12:21:18 +02:00