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/da903x.c | |
parent | acpi: fix oops in acpi_system_wakeup_device_seq_show (diff) | |
download | linux-b1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2.tar.xz linux-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/da903x.c')
-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 b57326ae464d..0b5bd85dfcec 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; |