29 Nov
2013
29 Nov
'13
5 p.m.
On Fri, 29 Nov 2013, Peter Ujfalusi wrote:
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
drivers/mfd/twl6040.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 89 insertions(+), 3 deletions(-)
The code looks fine to me (me = !regmap expert), so with Mark's Ack I will apply.
Mark, is an immutable branch required for this patch?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog