linux-brain/sound/sparc
Takashi Iwai 9c4a8f6f62 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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-05 19:42:40 +01:00
..
Kconfig ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-01-27 07:10:38 +01:00
Makefile [ALSA] Add DBRI driver on Sparcs 2005-07-28 12:21:18 +02:00
amd7930.c ALSA: sparc: amd7930: Fix module autoload for OF platform driver 2015-09-04 12:11:44 +02:00
cs4231.c ALSA: sparc: Fix invalid snd_free_pages() at error path 2018-12-05 19:42:40 +01:00
dbri.c dbri: move dereference after check for NULL 2016-12-06 12:18:22 -05:00