commit | 9a20332ab373b1f8f947e0a9c923652b32dab031 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Nov 23 18:18:30 2018 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Sat Nov 24 19:56:15 2018 +0100 |
tree | 8a0005a0b1c72305f433eea062c2dca4f5672c92 | |
parent | 7b69154171b407844c273ab4c10b5f0ddcd6aa29 [diff] |
ALSA: sparc: Fix invalid snd_free_pages() at error path 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>