commit | bf315173359b2f3b8b8ccca4264815e91f30be12 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sat Dec 03 17:06:20 2011 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Dec 05 13:17:36 2011 +0000 |
tree | eb922a86d595849df02c474e034c855d770abce0 | |
parent | 50b776fc71c13663eb7434f634f2b796de5c9885 [diff] |
regmap: Allow drivers to reinitialise the register cache at runtime Sometimes the register map information may change in ways that drivers can discover at runtime. For example, new revisions of a device may add new registers. Support runtime discovery by drivers by allowing the register cache to be reinitialised with a new function regmap_reinit_cache() which discards the existing cache and creates a new one. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>