summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-spi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-30 13:19:55 +0100
committerLee Jones <lee.jones@linaro.org>2013-07-31 13:00:53 +0100
commit3e4f8789946de61c61ce6a373d069d55725d956c (patch)
tree9e88e49a0d3611c154a61feea1e3c8d51ed82988 /drivers/mfd/wm831x-spi.c
parent38c4faaea4ca71c69584ef71cca8d0735d5361c1 (diff)
downloadblackbird-op-linux-3e4f8789946de61c61ce6a373d069d55725d956c.tar.gz
blackbird-op-linux-3e4f8789946de61c61ce6a373d069d55725d956c.zip
mfd: wm831x: Remove erronious bits per word set
Since the conversion to the regmap API setting bits per word will lead to data corruption since the regmap API already configures the bits per word appropriately. Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm831x-spi.c')
-rw-r--r--drivers/mfd/wm831x-spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/wm831x-spi.c b/drivers/mfd/wm831x-spi.c
index e7ed14f661d8..07de3cc5a0d9 100644
--- a/drivers/mfd/wm831x-spi.c
+++ b/drivers/mfd/wm831x-spi.c
@@ -34,7 +34,6 @@ static int wm831x_spi_probe(struct spi_device *spi)
if (wm831x == NULL)
return -ENOMEM;
- spi->bits_per_word = 16;
spi->mode = SPI_MODE_0;
spi_set_drvdata(spi, wm831x);
OpenPOWER on IntegriCloud