diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-30 13:40:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-30 13:40:01 +0200 |
commit | feff98f5507f98c0422252caec41c3be9e6b6399 (patch) | |
tree | d014206d6ecc095ceb8e03ea2b17b42bf1ce786a /drivers/base/regmap/regmap-debugfs.c | |
parent | Linux 3.10-rc7 (diff) | |
parent | regmap: debugfs: Suppress cache for partial register files (diff) | |
download | linux-feff98f5507f98c0422252caec41c3be9e6b6399.tar.xz 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.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. |