diff options
author | Mike Rapoport <mike@compulab.co.il> | 2008-11-08 01:28:19 +0100 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2008-11-16 19:58:45 +0100 |
commit | b1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2 (patch) | |
tree | f571080c957cb38cbc2d18eca4c7eaece23874e5 /drivers/mfd | |
parent | 77fb61a04a0483ad274ce5c51b02c46c12db3693 (diff) | |
download | linux-3.10-b1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2.tar.gz linux-3.10-b1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2.tar.bz2 linux-3.10-b1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2.zip |
mfd: fix event masking for da9030
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/da903x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c index b57326ae464..0b5bd85dfce 100644 --- 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; |