regmap: Allow reads from write only registers with the flat cache
authorMark Brown <broonie@kernel.org>
Sat, 17 Jun 2023 20:11:07 +0000 (21:11 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jun 2023 11:59:41 +0000 (12:59 +0100)
commitd0c99ffe212679b338d12fe283964e6e43ce1501
tree65b18c91677737b68729226137400243c747693d
parent3e47b8877d6c0f60943b00f3112756ca3b572cd6
regmap: Allow reads from write only registers with the flat cache

The flat cache is intended for devices that need the lowest overhead so
doesn't track any sparseness.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230617-regmap-kunit-read-writeonly-flat-v1-1-efd3ed66dec6@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-kunit.c