projects
/
firefly-linux-kernel-4.4.55.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...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
base
/
regmap
/
regmap-irq.c
diff --git
a/drivers/base/regmap/regmap-irq.c
b/drivers/base/regmap/regmap-irq.c
index fc69d29d272aa56cea9d8cd9910e2c4399f26c12..0d233cc1c7fa72adeaf3d977b456a1ffe316e00d 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)