]> 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:07 +0000 (00:16 +0200)
commit6be8b8aaca9e67f3860b5f3b37a776c6ba59d599
tree4a2070651b79e1f719b775183ba4c30b01a5381e
parent2efc5a848f66cd6e5aa35b566bf6a3fee0bdf54d
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