]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: debugfs: Fix seeking from the cache
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Jan 2013 15:33:36 +0000 (00:33 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Jan 2013 15:33:36 +0000 (00:33 +0900)
commit5d70c7092be50ec3b98bce33f3adbbc2e21c80a9
tree872a36b411cf6c23911e51d33c33b81978d9cb96
parent1b9cb5b2a4d2a2a080ea36ced803dcd11be42d52
regmap: debugfs: Fix seeking from the cache

We don't want to bomb out early if we failed to get the cache any more,
just soldier on instead and we won't get confused and always return the
first block.

Reported-by: Philipp Zabel <p.zabel@pengutronix.de
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-debugfs.c