瀏覽代碼

ASoC: Kona: Disable wakeup capability for DMIC45 clock gpio

DMIC45 clock gpio generates dmic clock on the gpio line when the audio
capture starts on DMIC4 or DMIC5. But the same gpio is also an
wakeup capable interrupt source. So, during audio capture usecase,
GIC receives interrupts continuously as clock gpio toggles. Disable
wakeup capability for DMIC45 clock gpio to avoid interrupt generation
to GIC during the audio capture usecase.

Change-Id: I7793455fd1034a5d391c6a163ca776c6ed0c9b89
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 5 年之前
父節點
當前提交
c51afbc522
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      asoc/kona.c

+ 2 - 0
asoc/kona.c

@@ -7733,6 +7733,8 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
 	pdata->dmic45_gpio_p = of_parse_phandle(pdev->dev.of_node,
 					      "qcom,cdc-dmic45-gpios",
 					       0);
+	if (pdata->dmic45_gpio_p)
+		msm_cdc_pinctrl_set_wakeup_capable(pdata->dmic45_gpio_p, false);
 
 	pdata->mi2s_gpio_p[PRIM_MI2S] = of_parse_phandle(pdev->dev.of_node,
 					"qcom,pri-mi2s-gpios", 0);