Re: [PATCH v5 2/2] regcache: Move HW readback after cache initialisation

From: Mark Brown

Date: Tue Mar 03 2026 - 08:08:03 EST


On Tue, Mar 03, 2026 at 10:26:25AM +0100, Andy Shevchenko wrote:

> @@ -230,9 +230,18 @@ int regcache_init(struct regmap *map, const struct regmap_config *config)
> ret = map->cache_ops->init(map);
> map->unlock(map->lock_arg);
> if (ret)
> - goto err_free;
> + return ret;
> }
>

We might still need to free the copy we take of supplied reg_defaults,
it's not just the hw_init case.

Attachment: signature.asc
Description: PGP signature