Skip to content

Commit 806a8af

Browse files
Dan Murphybroonie
authored andcommitted
ASoC: tlv320adcx140: Fix GPO register start address
The header was updated to align with the data sheet to start the GPO_CFG at GPO_CFG0. The code was not updated to the change and therefore the GPO_CFG0 register was not written to. Fixes: 6617cff ("ASoC: tlv320adcx140: Add GPO configuration and drive output config") Signed-off-by: Dan Murphy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6617cff commit 806a8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/tlv320adcx140.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ static int adcx140_configure_gpo(struct adcx140_priv *adcx140)
790790

791791
gpo_output_val = gpo_outputs[0] << ADCX140_GPO_SHIFT |
792792
gpo_outputs[1];
793-
ret = regmap_write(adcx140->regmap, ADCX140_GPO_CFG1 + i,
793+
ret = regmap_write(adcx140->regmap, ADCX140_GPO_CFG0 + i,
794794
gpo_output_val);
795795
if (ret)
796796
return ret;

0 commit comments

Comments
 (0)