mfd: max96752f: Mark regcache as dirty at power-on-reset

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ifefad0dc1538188e07f33eb9621990f099f0036c
This commit is contained in:
Wyon Bi
2022-05-23 08:17:22 +00:00
committed by Tao Huang
parent 9fc3eb23a7
commit 2185f7dbbe

View File

@@ -153,6 +153,7 @@ static int max96752f_i2c_probe(struct i2c_client *client)
return dev_err_probe(dev, PTR_ERR(max96752f->regmap),
"failed to initialize regmap\n");
regcache_mark_dirty(max96752f->regmap);
regcache_cache_only(max96752f->regmap, true);
ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, max96752f_devs,