commit | b1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2 | [log] [tgz] |
---|---|---|
author | Mike Rapoport <mike@compulab.co.il> | Sat Nov 08 01:28:19 2008 +0100 |
committer | Samuel Ortiz <samuel@sortiz.org> | Sun Nov 16 19:58:45 2008 +0100 |
tree | f571080c957cb38cbc2d18eca4c7eaece23874e5 | |
parent | 77fb61a04a0483ad274ce5c51b02c46c12db3693 [diff] [blame] |
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>
diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c index b57326a..0b5bd85 100644 --- a/drivers/mfd/da903x.c +++ b/drivers/mfd/da903x.c
@@ -267,7 +267,7 @@ { 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;