regmap: Handle sparse caches in the default sync
authorMark Brown <broonie@kernel.org>
Sat, 25 Mar 2023 21:49:49 +0000 (21:49 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 27 Mar 2023 00:42:26 +0000 (01:42 +0100)
commit2c89db8f8d1e544fd817d4c0dc508a00b78a8f7f
tree99d5a3c76428189fa8a9155c3e6f0fc52bb007be
parentdc4c6232b8831ee4884b1026fcd963bd7e3ae21f
regmap: Handle sparse caches in the default sync

If there is no cache entry available we will get -ENOENT from the cache
implementation, handle this gracefully and skip rather than treating it as
an error.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230325-regcache-sparse-sync-v1-1-2a890239d061@kernel.org
drivers/base/regmap/regcache.c