ASoC: tlv320aic31xx: Fix GPIO1 register definition
authorAndrew F. Davis <afd@ti.com>
Wed, 29 Nov 2017 21:32:46 +0000 (15:32 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 30 Nov 2017 12:31:44 +0000 (12:31 +0000)
GPIO1 control register is number 51, fix this here.

Fixes: bafcbfe429eb ("ASoC: tlv320aic31xx: Make the register values human readable")
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/tlv320aic31xx.h

index 730fb20..1ff3edb 100644 (file)
@@ -116,7 +116,7 @@ struct aic31xx_pdata {
 /* INT2 interrupt control */
 #define AIC31XX_INT2CTRL       AIC31XX_REG(0, 49)
 /* GPIO1 control */
-#define AIC31XX_GPIO1          AIC31XX_REG(0, 50)
+#define AIC31XX_GPIO1          AIC31XX_REG(0, 51)
 
 #define AIC31XX_DACPRB         AIC31XX_REG(0, 60)
 /* ADC Instruction Set Register */