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
Merge branch 'fix/asoc' into for-linus
[pandora-kernel.git]
/
sound
/
pci
/
asihpi
/
hpi6205.c
diff --git
a/sound/pci/asihpi/hpi6205.c
b/sound/pci/asihpi/hpi6205.c
index
22c5fc6
..
2672f65
100644
(file)
--- a/
sound/pci/asihpi/hpi6205.c
+++ b/
sound/pci/asihpi/hpi6205.c
@@
-644,6
+644,8
@@
static u16 create_adapter_obj(struct hpi_adapter_obj *pao,
interface->control_cache.size_in_bytes,
(struct hpi_control_cache_info *)
p_control_cache_virtual);
+ if (!phw->p_cache)
+ err = HPI_ERROR_MEMORY_ALLOC;
}
if (!err) {
err = hpios_locked_mem_get_phys_addr(&phw->