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:07 +0000 (00:16 +0200)
commit77a5b3701832801619dc13d3e902fd8a216e531b
tree4a2070651b79e1f719b775183ba4c30b01a5381e
parenta7cc37a49876319b2f848290eefe3388dd82286b
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