mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user