Skip to content

Commit 8778837

Browse files
tq-steinabroonie
authored andcommitted
ASoC: codec: tlv320aic32x4: Fix reset GPIO check
rstn_gpio being a GPIO descriptor the check is wrong (inverted) for releasing the reset of the codec. Fixes: 790d5f8 ("ASoC: codec: tlv320aic32x4: Convert to GPIO descriptors") Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Peng Fan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent aa84580 commit 8778837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/tlv320aic32x4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ int aic32x4_probe(struct device *dev, struct regmap *regmap,
13881388
return ret;
13891389
}
13901390

1391-
if (!aic32x4->rstn_gpio) {
1391+
if (aic32x4->rstn_gpio) {
13921392
ndelay(10);
13931393
/* deassert reset */
13941394
gpiod_set_value_cansleep(aic32x4->rstn_gpio, 0);

0 commit comments

Comments
 (0)