Skip to content
Snippets Groups Projects
Commit b1ccbdc4 authored by Mike Rapoport's avatar Mike Rapoport Committed by Samuel Ortiz
Browse files

mfd: fix event masking for da9030

parent 77fb61a0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment