FIXME cover letter
Some caches may not allow writes before full initialisation is done.
In particular on REGMAP_MAPLE caches when we want to populate cache
with the values (reg_defaults_raw == NULL && num_reg_defaults_raw != 0)
from HW, the NULL pointer dereference may happen. Address this by moving
the IO after cache initialisation is done.
Andy Shevchenko (3):
regcache: Remove duplicate check in regcache_hw_init()
regcache: Split regcache_count_cacheable_registers() helper
regcache: Move HW readback after cache initialisation
drivers/base/regmap/regcache.c | 44 ++++++++++++++++++++--------------
1 file changed, 26 insertions(+), 18 deletions(-)
--
2.50.1