Skip to contentSkip to conversation

mfd: wm831x: Remove erronious bits per word set

PATCH Applied Mark Brown 2 participants 2 messages Jul 30, 2013 – Jul 31, 2013

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: wm831x: Remove erronious bits per word set

From: Mark Brown <[email protected]>

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.

---
 drivers/mfd/wm831x-spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/wm831x-spi.c +0 -1
index e7ed14f66..07de3cc 100644
@@ -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);
Signature · 1 line
1.8.3.2
Applied
#1 lore raw

drivers/mfd/wm831x-spi.c

Quoted 12 lines

From: Mark Brown <[email protected]>

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.

---
 drivers/mfd/wm831x-spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/wm831x-spi.c +0 -0

Applied, thanks Mark.

Signature · 4 lines
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog