]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c6ab7c040603b5b6ce2b1fc4e3a397db842a19d
tree69f57112d8172089264cd9894043112a98fd5db0
parent5b7bb4f46b9479d55446bb72bada765e26658b5c
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