]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: tlv320aic23: Remove spurious bits per word setting
authorMark Brown <broonie@linaro.org>
Wed, 12 Mar 2014 13:32:34 +0000 (13:32 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 12 Mar 2014 21:31:29 +0000 (21:31 +0000)
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@linaro.org>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
sound/soc/codecs/tlv320aic23-spi.c

index 585aea436c6aff33031410a3fa3a02cb334d4c45..3b387e41d75d065edec38019c59ceaa88f9a3a1f 100644 (file)
@@ -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)