aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/tps65910.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index f243e75d28f3..7612d89850dd 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -486,6 +486,11 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
486 tps65910->i2c_client = i2c; 486 tps65910->i2c_client = i2c;
487 tps65910->id = chip_id; 487 tps65910->id = chip_id;
488 488
489 /* Work around silicon erratum SWCZ010: the tps65910 may miss the
490 * first I2C transfer. So issue a dummy transfer before the first
491 * real transfer.
492 */
493 i2c_master_send(i2c, "", 1);
489 tps65910->regmap = devm_regmap_init_i2c(i2c, &tps65910_regmap_config); 494 tps65910->regmap = devm_regmap_init_i2c(i2c, &tps65910_regmap_config);
490 if (IS_ERR(tps65910->regmap)) { 495 if (IS_ERR(tps65910->regmap)) {
491 ret = PTR_ERR(tps65910->regmap); 496 ret = PTR_ERR(tps65910->regmap);