linux-stable/drivers/base/regmap
Lars-Peter Clausen 4b4e9e43fd 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>
2012-04-01 11:47:13 +01:00
..
internal.h Merge remote-tracking branches 'regmap/topic/patch' and 'regmap/topic/sync' into regmap-next 2012-03-14 13:14:24 +00:00
Kconfig regmap: Add a reusable irq_chip for regmap based interrupt controllers 2011-11-08 11:29:48 +00:00
Makefile regmap: Remove indexed cache type 2011-11-20 20:56:34 +00:00
regcache-lzo.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regcache-rbtree.c regmap: rbtree: Fix register default look-up in sync 2012-04-01 11:47:13 +01:00
regcache.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regmap-debugfs.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regmap-i2c.c regmap: Implement managed regmap_init() 2012-01-30 21:06:43 +00:00
regmap-irq.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
regmap-spi.c regmap: Implement managed regmap_init() 2012-01-30 21:06:43 +00:00
regmap.c Merge remote-tracking branch 'regmap/topic/bulk' into regmap-next 2012-03-14 13:15:48 +00:00