mfd: Fix mc13xxx SPI regmap
authorPhilippe Rétornaz <philippe.retornaz@epfl.ch>
Tue, 29 May 2012 09:06:28 +0000 (11:06 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:24 +0000 (00:16 +0200)
commit44716ec2f423da1965d444cd349b14b994998299
tree69f57112d8172089264cd9894043112a98fd5db0
parent00ba81c15276cd572c5a68b07936de4f1ae8597a
mfd: Fix mc13xxx SPI regmap

This fix the SPI regmap configuration, the wrong write flag was used.
Also, bits_per_word should not be set as the regmap spi implementation
uses a 8bits transfert granularity.

Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-spi.c