ALSA: sparc: Add missing kfree in error path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 17 Jul 2015 18:33:21 +0000 (20:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jul 2015 20:29:43 +0000 (22:29 +0200)
If 'of_ioremap' fails, then 'amd' should be freed, otherwise, there is a
memory leak.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/amd7930.c

Simple merge