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 branches 'regmap-core', 'regmap-stride', 'regmap-mmio' and 'regmap-irq' into...
[pandora-kernel.git]
/
drivers
/
base
/
regmap
/
regmap-irq.c
diff --git
a/drivers/base/regmap/regmap-irq.c
b/drivers/base/regmap/regmap-irq.c
index
fc69d29
..
0d233cc
100644
(file)
--- a/
drivers/base/regmap/regmap-irq.c
+++ b/
drivers/base/regmap/regmap-irq.c
@@
-206,6
+206,8
@@
int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
if (!d)
return -ENOMEM;
+ *data = d;
+
d->status_buf = kzalloc(sizeof(unsigned int) * chip->num_regs,
GFP_KERNEL);
if (!d->status_buf)