author | Mark Brown <broonie@opensource.wolfsonmicro.com> | |
Wed, 2 Jan 2013 15:32:00 +0000 (15:32 +0000) | ||
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | |
Tue, 8 Jan 2013 20:52:45 +0000 (20:52 +0000) | ||
commit | 120f80518125b8c312007a54106759d608487553 | |
tree | 8bfed65b46671eac0ec9e7ca04875eba7e4896e8 | tree | snapshot (tar.xz tar.gz zip) |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed | commit | diff |
regmap: debugfs: Fix attempts to read nonexistant register blocks
Return the start of the last block we tried to read rather than a position,
and also make sure we update the byte position while we're at it. Without
this reads that go into nonexistant areas get confused.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Return the start of the last block we tried to read rather than a position,
and also make sure we update the byte position while we're at it. Without
this reads that go into nonexistant areas get confused.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-debugfs.c | diff | blob | history |