mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
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:
parent
9fc3eb23a7
commit
2185f7dbbe
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user