diff options
-rw-r--r-- | drivers/mfd/lm3533-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c index d6705431c897..d11c891e4a4d 100644 --- a/drivers/mfd/lm3533-core.c +++ b/drivers/mfd/lm3533-core.c | |||
@@ -126,7 +126,7 @@ int lm3533_update(struct lm3533 *lm3533, u8 reg, u8 val, u8 mask) | |||
126 | 126 | ||
127 | dev_dbg(lm3533->dev, "update [%02x]: %02x/%02x\n", reg, val, mask); | 127 | dev_dbg(lm3533->dev, "update [%02x]: %02x/%02x\n", reg, val, mask); |
128 | 128 | ||
129 | ret = regmap_update_bits(lm3533->regmap, reg, val, mask); | 129 | ret = regmap_update_bits(lm3533->regmap, reg, mask, val); |
130 | if (ret < 0) { | 130 | if (ret < 0) { |
131 | dev_err(lm3533->dev, "failed to update register %02x: %d\n", | 131 | dev_err(lm3533->dev, "failed to update register %02x: %d\n", |
132 | reg, ret); | 132 | reg, ret); |