Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 168173ee authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

asoc: kona: Update LPI GPIO wakeup disable for all DMICs



Disable wakeup capability for all DMIC GPIOs.

Change-Id: I7c8c5f653e565b8f8b6f40005051aab3f27ccc76
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 018a0615
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7828,6 +7828,10 @@ 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->dmic01_gpio_p)
		msm_cdc_pinctrl_set_wakeup_capable(pdata->dmic01_gpio_p, false);
	if (pdata->dmic23_gpio_p)
		msm_cdc_pinctrl_set_wakeup_capable(pdata->dmic23_gpio_p, false);
	if (pdata->dmic45_gpio_p)
		msm_cdc_pinctrl_set_wakeup_capable(pdata->dmic45_gpio_p, false);