regmap: cache: Step by stride in default sync
authorDylan Reid <dgreid@chromium.org>
Tue, 18 Mar 2014 20:45:08 +0000 (13:45 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 19 Mar 2014 10:38:54 +0000 (10:38 +0000)
The default sync operation was still assuming a stride of one, fix it
to respect the reg_stride set in the map.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regcache.c

Simple merge