kernel-ark/drivers/base/regmap
Fabio Estevam 5494a98f45 regmap: Fix the size calculation for map->format.buf_size
The word to be transmitted/received via regmap is composed by the following
parts:

config->reg_bits
config->val_bits
config->pad_bits

,so the total size should be calculated by summing up the number of bits of
each element and using a DIV_ROUND_UP to return the number of bytes.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-03 13:14:01 +01:00
..
internal.h Merge branches 'regmap-core', 'regmap-stride', 'regmap-mmio' and 'regmap-irq' into regmap-next 2012-05-13 19:20:47 +01:00
Kconfig regmap: Use select .. if to get IRQ_DOMAIN enabled 2012-05-23 10:15:51 +01:00
Makefile regmap: add MMIO bus support 2012-04-06 10:47:35 +01:00
regcache-lzo.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regcache-rbtree.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regcache.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regmap-debugfs.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regmap-i2c.c i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING 2012-05-30 10:55:34 +02:00
regmap-irq.c regmap: Fix typo in IRQ register striding 2012-05-17 22:59:24 +01:00
regmap-mmio.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regmap-spi.c regmap: introduce explicit bus_context for bus callbacks 2012-04-06 10:47:34 +01:00
regmap.c regmap: Fix the size calculation for map->format.buf_size 2012-06-03 13:14:01 +01:00