git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: sound/atmel/abdac.c: fix error return code
[pandora-kernel.git]
/
sound
/
atmel
/
abdac.c
diff --git
a/sound/atmel/abdac.c
b/sound/atmel/abdac.c
index
98554f4
..
277ebce
100644
(file)
--- a/
sound/atmel/abdac.c
+++ b/
sound/atmel/abdac.c
@@
-452,6
+452,7
@@
static int __devinit atmel_abdac_probe(struct platform_device *pdev)
dac->regs = ioremap(regs->start, resource_size(regs));
if (!dac->regs) {
dev_dbg(&pdev->dev, "could not remap register memory\n");
+ retval = -ENOMEM;
goto out_free_card;
}