[alsa-devel] [PATCH] ASoC: tlv320aic23: Remove spurious bits per word setting

Mark Brown broonie at kernel.org
Wed Mar 12 14:33:15 CET 2014

From: Mark Brown <broonie at linaro.org>

regmap should handle any byte ordering issues required, it is looking for
a byte stream from the bus, so don't set 16 bits per word. This is likely
to have tested out OK due to use of an unmerged SPI controller driver.

Signed-off-by: Mark Brown <broonie at linaro.org>
 sound/soc/codecs/tlv320aic23-spi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/tlv320aic23-spi.c b/sound/soc/codecs/tlv320aic23-spi.c
index 585aea436c6a..3b387e41d75d 100644
--- a/sound/soc/codecs/tlv320aic23-spi.c
+++ b/sound/soc/codecs/tlv320aic23-spi.c
@@ -25,7 +25,6 @@ static int aic23_spi_probe(struct spi_device *spi)
 	dev_dbg(&spi->dev, "probing tlv320aic23 spi device\n");
-	spi->bits_per_word = 16;
 	spi->mode = SPI_MODE_0;
 	ret = spi_setup(spi);
 	if (ret < 0)

More information about the Alsa-devel mailing list