Skip to contentSkip to conversation

ASoC: tlv320aic23: Remove spurious bits per word setting

PATCH In review Mark Brown 2 participants 2 messages Mar 12, 2014

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: tlv320aic23: Remove spurious bits per word setting

From: Mark Brown <[email protected]>

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.

---
 sound/soc/codecs/tlv320aic23-spi.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/codecs/tlv320aic23-spi.c +0 -1
index 585aea436c6a..3b387e41d75d 100644
@@ -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)
Signature · 1 line
1.9.0
Tested-by on v1 1/1
#1 lore raw
Quoted 10 lines · Mark Brown

From: Mark Brown <[email protected]>

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.

---
 sound/soc/codecs/tlv320aic23-spi.c | 1 -
 1 file changed, 1 deletion(-)
Quoted 15 lines
sound/soc/codecs/tlv320aic23-spi.c +0 -2
index 585aea436c6a..3b387e41d75d 100644
@@ -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)
--

1.9.0

Signature · 2 lines
Thanks.
-- Max