Browse Source

ASoC: bolero: Disable rx swr gpio as wakeup capable

Disable rx swr gpio as wakeup capable to avoid waking up system
during power collapse.

Change-Id: Idd76f8304e61b97e53ca82e407bedbdc9b0f5a7f
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 4 years ago
parent
commit
e0b041f380
1 changed files with 2 additions and 0 deletions
  1. 2 0
      asoc/codecs/bolero/rx-macro.c

+ 2 - 0
asoc/codecs/bolero/rx-macro.c

@@ -4111,6 +4111,8 @@ static int rx_macro_probe(struct platform_device *pdev)
 			__func__);
 		return -EPROBE_DEFER;
 	}
+	msm_cdc_pinctrl_set_wakeup_capable(
+				rx_priv->rx_swr_gpio_p, false);
 
 	rx_io_base = devm_ioremap(&pdev->dev, rx_base_addr,
 				  RX_MACRO_MAX_OFFSET);