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
..
2012-05-18 20:46:17 +02:00
2012-05-04 16:33:16 -07:00
2012-04-18 15:37:35 -07:00
2012-05-25 09:37:26 -07:00
2012-03-14 07:44:11 +01:00
2010-05-21 09:37:29 -07:00