projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77fb61a
)
mfd: fix event masking for da9030
author
Mike Rapoport
<mike@compulab.co.il>
Sat, 8 Nov 2008 00:28:19 +0000
(
01:28
+0100)
committer
Samuel Ortiz
<samuel@sortiz.org>
Sun, 16 Nov 2008 18:58:45 +0000
(19:58 +0100)
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/da903x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/da903x.c
b/drivers/mfd/da903x.c
index b57326ae464d4f91f83fce55e412d12f5712effa..0b5bd85dfcec5e4d4bdabfeae15a4a19f19f28ed 100644
(file)
--- a/
drivers/mfd/da903x.c
+++ b/
drivers/mfd/da903x.c
@@
-267,7
+267,7
@@
static int da9030_mask_events(struct da903x_chip *chip, unsigned int events)
{
uint8_t v[3];
- chip->events_mask
&= ~
events;
+ chip->events_mask
|=
events;
v[0] = (chip->events_mask & 0xff);
v[1] = (chip->events_mask >> 8) & 0xff;