diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-30 15:40:01 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-30 15:40:01 +0400 |
commit | feff98f5507f98c0422252caec41c3be9e6b6399 (patch) | |
tree | d014206d6ecc095ceb8e03ea2b17b42bf1ce786a /drivers/base/regmap/regmap-debugfs.c | |
parent | 9e895ace5d82df8929b16f58e9f515f6d54ab82d (diff) | |
parent | d6814a7dafa590ec5fe0597922ea76354f9bec59 (diff) | |
download | linux-feff98f5507f98c0422252caec41c3be9e6b6399.tar.xz |
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.c | 4 |
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. |