commit | c7f9129d22940720141d1f1e958a51142eff9d21 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Fri Nov 29 16:03:45 2013 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Thu Dec 19 17:01:11 2013 +0000 |
tree | 92b505f9061d95902f7c9fe19c5af396df9ce74b | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
mfd: twl6040: reg_defaults support for regmap Add reg_defaults to regmap and at the same time implement proper power state handling with using regcache_cache_only(), regcache_sync() and regcache_mark_dirty(). This will make sure that we do not need to do restore operations in child drivers anymore. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>