projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9cba48
)
mfd: Clearing events requires event registers to be writable for da9052-core
author
Ashish Jangam
<
[email protected]
>
Tue, 3 Jan 2012 07:03:26 +0000
(12:33 +0530)
committer
Mark Brown
<
[email protected]
>
Tue, 3 Jan 2012 20:18:11 +0000
(20:18 +0000)
Signed-off-by: David Dajun Chen <
[email protected]
>
Signed-off-by: Ashish Jangam <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/mfd/da9052-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/da9052-core.c
b/drivers/mfd/da9052-core.c
index 2a5e27168caca6975adc23deda4714767e0bbe55..5ddde2a9176afa32a8211d2951fc36cbccc85d64 100644
(file)
--- a/
drivers/mfd/da9052-core.c
+++ b/
drivers/mfd/da9052-core.c
@@
-172,6
+172,10
@@
static bool da9052_reg_writeable(struct device *dev, unsigned int reg)
{
switch (reg) {
case DA9052_PAGE0_CON_REG:
+ case DA9052_EVENT_A_REG:
+ case DA9052_EVENT_B_REG:
+ case DA9052_EVENT_C_REG:
+ case DA9052_EVENT_D_REG:
case DA9052_IRQ_MASK_A_REG:
case DA9052_IRQ_MASK_B_REG:
case DA9052_IRQ_MASK_C_REG: