regmap: Mark the cache as clean after a successful sync
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Feb 2012 22:05:59 +0000 (22:05 +0000)
committerSimone Willett <swillett@nvidia.com>
Sun, 15 Apr 2012 20:33:55 +0000 (13:33 -0700)
commit24dbfb8fceed820307da57a185440a967956d547
treeb9edeaa7729ae5df221c463160b90c8ee25f3070
parent01b30d0d2ab37eec4a5232e4fcf02716662830a3
regmap: Mark the cache as clean after a successful sync

Previously the cache would never be marked clean, meaning syncs would
never be suppressed which isn't the end of the world but could be
inefficient.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 6ff7373809a9b4eb644d83e2e299da297e1cbffa)

Change-Id: I52aef73bc6bc0df10dd64da92d0bf591e44ddc0e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/96487
Reviewed-by: Automatic_Commit_Validation_User
drivers/base/regmap/regcache.c