summaryrefslogtreecommitdiffstats
path: root/sound/sparc/amd7930.c
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2015-08-30 01:55:58 +0200
committerChris Zankel <chris@zankel.net>2015-08-30 01:55:58 +0200
commit650c919798c71fb34b77a6f2ba03a06907f06a76 (patch)
treed1c60012d4d86846d25f1d0b783b5122c26a2e31 /sound/sparc/amd7930.c
parentxtensa: improve vmlinux.lds.S sed post-processing (diff)
parentLinux 4.2 (diff)
downloadlinux-650c919798c71fb34b77a6f2ba03a06907f06a76.tar.xz
linux-650c919798c71fb34b77a6f2ba03a06907f06a76.zip
Merge tag 'v4.2' into for_next
Linux 4.2
Diffstat (limited to 'sound/sparc/amd7930.c')
-rw-r--r--sound/sparc/amd7930.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 1b1a89e80d13..784ceb85b2d9 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -956,6 +956,7 @@ static int snd_amd7930_create(struct snd_card *card,
if (!amd->regs) {
snd_printk(KERN_ERR
"amd7930-%d: Unable to map chip registers.\n", dev);
+ kfree(amd);
return -EIO;
}