summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-debugfs.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-06-30 12:40:01 +0100
committerMark Brown <broonie@linaro.org>2013-06-30 12:40:01 +0100
commitfeff98f5507f98c0422252caec41c3be9e6b6399 (patch)
treed014206d6ecc095ceb8e03ea2b17b42bf1ce786a /drivers/base/regmap/regmap-debugfs.c
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d (diff)
parentd6814a7dafa590ec5fe0597922ea76354f9bec59 (diff)
downloadblackbird-obmc-linux-feff98f5507f98c0422252caec41c3be9e6b6399.tar.gz
blackbird-obmc-linux-feff98f5507f98c0422252caec41c3be9e6b6399.zip
Merge remote-tracking branch 'regmap/topic/cache' into regmap-next
Diffstat (limited to 'drivers/base/regmap/regmap-debugfs.c')
-rw-r--r--drivers/base/regmap/regmap-debugfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
index 975719bc3450..98ee9c79678d 100644
--- a/drivers/base/regmap/regmap-debugfs.c
+++ b/drivers/base/regmap/regmap-debugfs.c
@@ -84,6 +84,10 @@ static unsigned int regmap_debugfs_get_dump_start(struct regmap *map,
unsigned int fpos_offset;
unsigned int reg_offset;
+ /* Suppress the cache if we're using a subrange */
+ if (from)
+ return from;
+
/*
* If we don't have a cache build one so we don't have to do a
* linear scan each time.
OpenPOWER on IntegriCloud