[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1375186795-28823-1-git-send-email-broonie@kernel.org>
Date: Tue, 30 Jul 2013 13:19:55 +0100
From: Mark Brown <broonie@...nel.org>
To: Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>
Cc: patches@...nsource.wolfsonmicro.com, linux-kernel@...r.kernel.org,
Mark Brown <broonie@...aro.org>
Subject: [PATCH] mfd: wm831x: Remove erronious bits per word set
From: Mark Brown <broonie@...aro.org>
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@...aro.org>
---
drivers/mfd/wm831x-spi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mfd/wm831x-spi.c b/drivers/mfd/wm831x-spi.c
index e7ed14f66..07de3cc 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);
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists