Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e4f8789 authored by Mark Brown's avatar Mark Brown Committed by Lee Jones
Browse files

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: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 38c4faae
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -34,7 +34,6 @@ static int wm831x_spi_probe(struct spi_device *spi)
	if (wm831x == NULL)
	if (wm831x == NULL)
		return -ENOMEM;
		return -ENOMEM;


	spi->bits_per_word = 16;
	spi->mode = SPI_MODE_0;
	spi->mode = SPI_MODE_0;


	spi_set_drvdata(spi, wm831x);
	spi_set_drvdata(spi, wm831x);