diff options
author | Lars-Peter Clausen <[email protected]> | 2012-03-23 11:04:57 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-04-01 11:47:13 +0100 |
commit | 4b4e9e43fd210e0cd2a5d29357e7c000e13e08ae (patch) | |
tree | fe7d224017c0c6ce72751a16bf9f9b12037b248d /net/lapb/lapb_timer.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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions