|
@@ -6164,6 +6164,15 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
|
|
|
wcd_mbhc_cfg.swap_gnd_mic = msm_swap_gnd_mic;
|
|
|
}
|
|
|
|
|
|
+ if (wcd_mbhc_cfg.enable_usbc_analog)
|
|
|
+ wcd_mbhc_cfg.swap_gnd_mic = msm_usbc_swap_gnd_mic;
|
|
|
+
|
|
|
+ pdata->fsa_handle = of_parse_phandle(pdev->dev.of_node,
|
|
|
+ "fsa4480-i2c-handle", 0);
|
|
|
+ if (!pdata->fsa_handle)
|
|
|
+ dev_dbg(&pdev->dev, "property %s not detected in node %s\n",
|
|
|
+ "fsa4480-i2c-handle", pdev->dev.of_node->full_name);
|
|
|
+
|
|
|
msm_i2s_auxpcm_init(pdev);
|
|
|
pdata->dmic01_gpio_p = of_parse_phandle(pdev->dev.of_node,
|
|
|
"qcom,cdc-dmic01-gpios",
|