Commit 8f6a459a9daa6ce76d7c192f2cb3047fffb45ec8

Authored by Marcus Folkesson
Committed by Samuel Ortiz
1 parent df7206477e

mfd: Handle tps65910 clear-mask correctly

The function is not actually cleaing the bitmask.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/mfd/tps65910.c
... ... @@ -120,7 +120,7 @@
120 120 goto out;
121 121 }
122 122  
123   - data &= mask;
  123 + data &= ~mask;
124 124 err = tps65910_i2c_write(tps65910, reg, 1, &data);
125 125 if (err)
126 126 dev_err(tps65910->dev, "write to reg %x failed\n", reg);