We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806a8af commit 982f4a4Copy full SHA for 982f4a4
sound/soc/codecs/tlv320adcx140.c
@@ -838,6 +838,10 @@ static int adcx140_codec_probe(struct snd_soc_component *component)
838
839
bias_cfg = bias_source << ADCX140_MIC_BIAS_SHIFT | vref_source;
840
841
+ ret = adcx140_reset(adcx140);
842
+ if (ret)
843
+ goto out;
844
+
845
pdm_count = device_property_count_u32(adcx140->dev,
846
"ti,pdm-edge-select");
847
if (pdm_count <= ADCX140_NUM_PDM_EDGES && pdm_count > 0) {
@@ -885,10 +889,6 @@ static int adcx140_codec_probe(struct snd_soc_component *component)
885
889
if (ret)
886
890
goto out;
887
891
888
- ret = adcx140_reset(adcx140);
- if (ret)
- goto out;
-
892
if (adcx140->supply_areg == NULL)
893
sleep_cfg_val |= ADCX140_AREG_INTERNAL;
894
0 commit comments