diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-03-23 11:04:57 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-01 11:47:13 +0100 |
commit | 4b4e9e43fd210e0cd2a5d29357e7c000e13e08ae (patch) | |
tree | fe7d224017c0c6ce72751a16bf9f9b12037b248d /fs/jbd/commit.c | |
parent | dd775ae2549217d3ae09363e3edb305d0fa19928 (diff) |
regmap: rbtree: Fix register default look-up in sync
The code currently passes the register offset in the current block to
regcache_lookup_reg. This works fine as long as there is only one block and with
base register of 0, but in all other cases it will look-up the default for a
wrong register, which can cause unnecessary register writes. This patch fixes
it by passing the actual register number to regcache_lookup_reg.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions