Skip to content
Unverified Commit eab5abde authored by Mark Brown's avatar Mark Brown
Browse files

regmap: Check for register readability before checking cache during read



Ensure that we don't return a spurious cache hit for unreadable registers
(eg, with the flat cache which doesn't understand sparseness) by checking
for readability before we do a cache lookup.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230613-b4-regmap-check-readability-before-cache-v1-1-b144c0b01ed9@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b629c698
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment