mfd: wm831x: Remove erronious bits per word set
Subsystems (2)
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.
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/wm831x-spi.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/wm831x-spi.c +0 -1
@@ -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
Lee Jones
Applieddrivers/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.
Signed-off-by Mark Brown <[email protected]>--- 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